diff options
author | Chia-I Wu <[email protected]> | 2010-10-25 22:27:17 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-27 10:49:33 +0800 |
commit | e4dbfa44ed018d124e1531077d506c8c914c1a51 (patch) | |
tree | 743740c5a73c00c4119d2d30a09ccca67b1505b5 /src/mapi/glapi/gen/glX_proto_send.py | |
parent | e213968f2b99b07e20b69e4dd6f94bea35f54161 (diff) |
glapi: Do not use glapioffsets.h.
glapioffsets.h exists for the same reason as glapidispatch.h does. It
is of no use to glapi. This commit also drops the use of glapioffsets.h
in glx as glx is considered an extension to glapi when it comes to
defining public GL entries.
Diffstat (limited to 'src/mapi/glapi/gen/glX_proto_send.py')
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_send.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index 4f8baf35d11..17ebad0176c 100644 --- a/src/mapi/glapi/gen/glX_proto_send.py +++ b/src/mapi/glapi/gen/glX_proto_send.py @@ -993,6 +993,9 @@ extern HIDDEN NOINLINE FASTCALL GLubyte * __glXSetupVendorRequest( asdf = func.static_glx_name(n) if asdf not in func.static_entry_points: print 'extern HIDDEN %s gl%s(%s);' % (func.return_type, asdf, params) + # give it a easy-to-remember name + if func.client_handcode: + print '#define gl_dispatch_stub_%s gl%s' % (n, asdf) else: print 'GLAPI %s GLAPIENTRY gl%s(%s);' % (func.return_type, asdf, params) |