summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-14 15:02:28 +1000
committerDave Airlie <airlied@redhat.com>2011-03-14 15:03:53 +1000
commit340e15c79b9c973d8dcefb55e2adf3ac813d1fec (patch)
tree78acaaaff56c6d324e38e168f66d5708ab6efa00 /src
parent0f84ddad29284b407c6bbef0b731201056d40324 (diff)
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@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/mapi/glapi/gen/glX_proto_recv.py4
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 887f63191dea..31745fcef77e 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: