Revision
185
Author
gstaplin@apple.com
Date
2009-02-19 18:58:31 -0800 (Thu, 19 Feb 2009)

Log Message

Set the GLX extensions string to the list of supported GLX extensions.

Modified Paths

Diff

Modified: AppleSGLX/trunk/glxcmds.c (184 => 185)


--- AppleSGLX/trunk/glxcmds.c	2009-02-20 02:41:23 UTC (rev 184)
+++ AppleSGLX/trunk/glxcmds.c	2009-02-20 02:58:31 UTC (rev 185)
@@ -493,6 +493,7 @@
 
     if (major) *major = priv->majorVersion;
     if (minor) *minor = priv->minorVersion;
+
     return GL_TRUE;
 }
 
@@ -1097,6 +1098,11 @@
 
 PUBLIC const char *glXQueryExtensionsString( Display *dpy, int screen )
 {
+    static const char extstr[] = "GLX_ARB_get_proc_address ";
+
+    return extstr;
+    
+#if 0
     __GLXscreenConfigs *psc;
     __GLXdisplayPrivate *priv;
 
@@ -1121,6 +1127,7 @@
     }
 
     return psc->effectiveGLXexts;
+#endif
 }
 
 PUBLIC const char *glXGetClientString( Display *dpy, int name )