From: Dave Airlie Date: Mon, 14 Mar 2011 05:02:28 +0000 (+1000) Subject: glx: the server still needs __GLXcontext. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=340e15c79b9c973d8dcefb55e2adf3ac813d1fec;p=mesa.git 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 --- diff --git a/src/mapi/glapi/gen/glX_proto_recv.py b/src/mapi/glapi/gen/glX_proto_recv.py index 887f63191de..31745fcef77 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: