summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2006-01-16 10:54:14 +0000
committerMatthias Hopf <mhopf@suse.de>2006-01-16 10:54:14 +0000
commit12209b48afe65215e693b00bfb0397e275e85114 (patch)
treeb08a4f59c700cd9b47595ef7039a3a20c4594398
parent36c5e81eff50ef34f8b96014c8ee04c0563ab853 (diff)
GLX_GLXEXT_LEGACY -> GLX_GLXEXT_PROTOTYPES + glxext.h
-rw-r--r--ChangeLog5
-rw-r--r--xdriinfo.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72e8894..518510e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-16 Matthias Hopf <mhopf@suse.de>
+
+ * xdriinfo.c:
+ GLX_GLXEXT_LEGACY -> GLX_GLXEXT_PROTOTYPES + glxext.h
+
2006-01-13 Matthias Hopf <mhopf@suse.de>
* configure.ac:
diff --git a/xdriinfo.c b/xdriinfo.c
index 75ab773..8a76b31 100644
--- a/xdriinfo.c
+++ b/xdriinfo.c
@@ -22,8 +22,9 @@
*
*/
-#define GLX_GLXEXT_LEGACY
+#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>
+#include <GL/glxext.h>
#include <X11/Xlib.h>
#include <stdio.h>
#include <unistd.h>