sci-libs/pcl: Drop 1.8.1
[gentoo.git] / sci-libs / vtk / files / vtk-7.0.0-glext.patch
1 --- a/Rendering/OpenGL/vtkOpenGL.h
2 +++ b/Rendering/OpenGL/vtkOpenGL.h
3 @@ -19,7 +19,8 @@
4  #include "vtkConfigure.h"
5  
6  // To prevent gl.h to include glext.h provided by the system
7 -#define GL_GLEXT_LEGACY
8 +// https://bugzilla.redhat.com/show_bug.cgi?id=1138466
9 +// #define GL_GLEXT_LEGACY
10  #if defined(__APPLE__) && defined(VTK_USE_COCOA)
11  # include <OpenGL/gl.h> // Include OpenGL API.
12  #else