Salome HOME
Merge branch 'rnv/23406'
[modules/gui.git] / src / VTKViewer / VTKViewer_PolyDataMapper.h
index 0413ae6653bffdceae7a2c139a804d4e98f481a1..14418801a163c50146aee4304fb3f4b621409cad 100644 (file)
 
 #include <map>
 
+#ifdef __APPLE__
+#include <OpenGL/gl.h>
+#else
 #include <GL/gl.h>
+#endif
 
 #include <vtkSmartPointer.h>
 
@@ -141,11 +145,13 @@ private:
     static const GLint INVALID_LOCATION = -1;
 
     GLint ModelViewProjection;
+    GLint Projection;
     GLint GeneralPointSize;
     GLint PointSprite;
 
     Locations()
     : ModelViewProjection (INVALID_LOCATION),
+      Projection          (INVALID_LOCATION),
       GeneralPointSize    (INVALID_LOCATION),
       PointSprite         (INVALID_LOCATION)
     {