[Xquartz-changes] [185] AppleSGLX/trunk/glxcmds.c

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 19 18:58:31 PST 2009


Revision: 185
          http://trac.macosforge.org/projects/xquartz/changeset/185
Author:   gstaplin at 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:
--------------
    AppleSGLX/trunk/glxcmds.c

Modified: AppleSGLX/trunk/glxcmds.c
===================================================================
--- 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090219/5d0d9161/attachment-0001.html>


More information about the Xquartz-changes mailing list