projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glthread: inline _mesa_unmarshal_dispatch_cmd and convert the switch to a table
[mesa.git]
/
src
/
mapi
/
glapi
/
gen
/
gl_marshal_h.py
diff --git
a/src/mapi/glapi/gen/gl_marshal_h.py
b/src/mapi/glapi/gen/gl_marshal_h.py
index a7a9eda5731340a29072ec638e34d0dbd772d242..94926b99a0f7cd5064152c76d799c924430c2a46 100644
(file)
--- a/
src/mapi/glapi/gen/gl_marshal_h.py
+++ b/
src/mapi/glapi/gen/gl_marshal_h.py
@@
-61,6
+61,7
@@
class PrintCode(gl_XML.gl_print_base):
if flavor in ('skip', 'sync'):
continue
print(' DISPATCH_CMD_{0},'.format(func.name))
+ print(' NUM_DISPATCH_CMD,')
print('};')