mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
glapi: rename dispatch stubs to use function names instead of numbers
it's now _dispatch_stub_Uniform2d instead of shared_dispatch_stub_216 Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34002>
This commit is contained in:
parent
d8b8259593
commit
1f56a1ac37
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ class ABIPrinter(object):
|
|||
fmt = formats[stringify]
|
||||
name = ent.name
|
||||
if mangle and ent.hidden:
|
||||
name = '_dispatch_stub_' + str(ent.slot)
|
||||
name = '_dispatch_stub_' + str(ent.name)
|
||||
return fmt % (prefix, name)
|
||||
|
||||
def _c_function_call(self, ent):
|
||||
|
|
@ -522,7 +522,7 @@ class SharedGLAPIPrinter(GLAPIPrinter):
|
|||
def __init__(self, entries):
|
||||
super(SharedGLAPIPrinter, self).__init__(entries)
|
||||
self.is_shared = True
|
||||
self.prefix = 'shared'
|
||||
self.prefix = ''
|
||||
|
||||
def _override_for_api(self, ent):
|
||||
ent.hidden = True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue