Salome HOME
Start potring to the VTK OpenGL2 backend.
[modules/gui.git] / src / VTKViewer / VTKViewer_OpenGLRenderer.cxx
index 0a681e44349dc7147cf81ae1392c0a8b03ad4ebd..117a2939b2d27b2bb878c4de2eadddfeba35afc9 100644 (file)
 #include <vtkOpenGLLight.h>
 #include <vtkOpenGLProperty.h>
 #include <vtkRenderWindow.h>
+#ifndef VTK_OPENGL2
 #include <vtkOpenGLExtensionManager.h>
 #include <vtkgl.h> // vtkgl namespace
+#endif
 #include <vtkImageImport.h>
 #include <vtkPNGWriter.h>
 #include <vtkOpenGLTexture.h>