Mesa (master): glx: the server still needs __GLXcontext.

Dave Airlie airlied at kemper.freedesktop.org
Mon Mar 14 05:00:54 UTC 2011


Module: Mesa
Branch: master
Commit: 340e15c79b9c973d8dcefb55e2adf3ac813d1fec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=340e15c79b9c973d8dcefb55e2adf3ac813d1fec

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Mar 14 15:02:28 2011 +1000

glx: the server still needs __GLXcontext.

This file generates code for the X server and it still uses
the __GLXcontext structure name.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/mapi/glapi/gen/glX_proto_recv.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen/glX_proto_recv.py b/src/mapi/glapi/gen/glX_proto_recv.py
index 887f631..31745fc 100644
--- a/src/mapi/glapi/gen/glX_proto_recv.py
+++ b/src/mapi/glapi/gen/glX_proto_recv.py
@@ -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:




More information about the mesa-commit mailing list