blob: bd867efdca2ee035fcf61f453d07267282d9ff26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 800282f289e3ebeb2873f7914ed560282b482448 Mon Sep 17 00:00:00 2001
From: "Marcus D. Hanwell" <marcus.hanwell@kitware.com>
Date: Tue, 9 Sep 2014 13:39:13 -0400
Subject: [PATCH] Actually define GLX_GLXEXT_LEGACY to prevent the include
Change-Id: I394afaf8a550f5c7b06ceca0898c316e5f2568c9
--- Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx.orig 2014-01-22 15:55:41 UTC
+++ Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
@@ -25,9 +25,9 @@
#include "vtkOpenGL.h"
-// define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by
-// the system
-//#define GLX_GLXEXT_LEGACY
+// Define GLX_GLXEXT_LEGACY to prevent glx.h from including the glxext.h
+// provided by the system.
+#define GLX_GLXEXT_LEGACY
#include "GL/glx.h"
#include "vtkgl.h"
|