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>
This commit is contained in:
@@ -384,9 +384,9 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto):
|
|||||||
print ' int error;'
|
print ' int error;'
|
||||||
|
|
||||||
if self.do_swap:
|
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:
|
else:
|
||||||
print ' struct glx_context * const cx = __glXForceCurrent(cl, req->contextTag, &error);'
|
print ' __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);'
|
||||||
|
|
||||||
print ''
|
print ''
|
||||||
if name not in f.glx_vendorpriv_names:
|
if name not in f.glx_vendorpriv_names:
|
||||||
|
Reference in New Issue
Block a user