summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>