0032331: Visualization - Exception when trying to display some surfaces using iVtk...
[occt.git] / src / IVtkDraw / IVtkDraw_Interactor.cxx
index 94fdf3b..08e5fe3 100644 (file)
 #include <vtkWin32OpenGLRenderWindow.h>
 #else
 #include <GL/glx.h>
+
+// Preventing naming collisions between
+// GLX and VTK versions 9.0 and above
+#ifdef AllValues
+#undef AllValues
+#endif
+
 #include <vtkXRenderWindowInteractor.h>
 #include <vtkXOpenGLRenderWindow.h>
 #endif