glx: the server still needs __GLXcontext.
authorDave Airlie <airlied@redhat.com>
Mon, 14 Mar 2011 05:02:28 +0000 (15:02 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Mar 2011 05:03:53 +0000 (15:03 +1000)
This file generates code for the X server and it still uses
the __GLXcontext structure name.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mapi/glapi/gen/glX_proto_recv.py

index 887f63191dea4c1a46f76f97621e70cd9baba2bd..31745fcef77e54c0d30d27d0d6fcbd49a08de898 100644 (file)
@@ -384,9 +384,9 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto):
                print '    int error;'
 
                if self.do_swap:
-                   print '    struct glx_context * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);'
+                   print '    __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);'
                else:
-                   print '    struct glx_context * const cx = __glXForceCurrent(cl, req->contextTag, &error);'
+                   print '    __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);'
 
                print ''
                if name not in f.glx_vendorpriv_names: