OSDN Git Service

glx/x11: Fix missing __GL_EXT_BYTES declaration
authorJeremy Huddleston <jeremyhu@freedesktop.org>
Fri, 8 Aug 2008 09:37:14 +0000 (02:37 -0700)
committerJeremy Huddleston <jeremyhu@freedesktop.org>
Fri, 8 Aug 2008 09:37:14 +0000 (02:37 -0700)
src/glx/x11/glxclient.h
src/glx/x11/glxextensions.h

index b0a5d13..8143289 100644 (file)
@@ -66,6 +66,8 @@
 # include <pthread.h>
 #endif
 
+#include "glxextensions.h"
+
 #define GLX_MAJOR_VERSION      1       /* current version numbers */
 #define GLX_MINOR_VERSION      4
 
index 9cdd05e..b99cebb 100644 (file)
@@ -244,7 +244,7 @@ extern GLboolean __glExtensionBitIsEnabled( const struct __GLXcontextRec * gc,
     unsigned bit );
 
 extern void
-__glXEnableDirectExtension(__GLXscreenConfigs *psc, const char *name);
+__glXEnableDirectExtension(struct __GLXscreenConfigsRec *psc, const char *name);
 
 /* Source-level backwards compatibility with old drivers. They won't
  * find the respective functions, though.