projects
/
vtk9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea0ff3
)
HACK: QVTKOpenGLWindow.cxx: Define GL_BACK_{LEFT,RIGHT} for Qt with OpenGL ES
author
Adrian Bunk
<bunk@debian.org>
Sun, 19 Jun 2022 14:25:33 +0000
(15:25 +0100)
committer
Anton Gladky
<gladk@debian.org>
Sun, 19 Jun 2022 14:25:33 +0000
(15:25 +0100)
Gbp-Pq: Name 83_allow_gles_platforms.patch
GUISupport/Qt/QVTKOpenGLWindow.cxx
patch
|
blob
|
history
diff --git
a/GUISupport/Qt/QVTKOpenGLWindow.cxx
b/GUISupport/Qt/QVTKOpenGLWindow.cxx
index 067e27cf6ea96a04b0860b5c04dd2273495b966c..8844e4245910ea1475d1b8b4f3c9172686ce69e7 100644
(file)
--- a/
GUISupport/Qt/QVTKOpenGLWindow.cxx
+++ b/
GUISupport/Qt/QVTKOpenGLWindow.cxx
@@
-34,6
+34,11
@@
#include "vtkObjectFactory.h"
#include "vtkOpenGLState.h"
+#ifndef GL_BACK_LEFT
+#define GL_BACK_LEFT GL_BACK
+#define GL_BACK_RIGHT GL_BACK
+#endif
+
QVTKOpenGLWindow::QVTKOpenGLWindow(QOpenGLWindow::UpdateBehavior ub, QWindow* p)
: QVTKOpenGLWindow(vtkSmartPointer<vtkGenericOpenGLRenderWindow>::New(), nullptr, ub, p)
{