mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 14:18:07 +02:00
glapi: verify that aliased functions don't have entries in dispatch tables
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33634>
This commit is contained in:
parent
02d22dd1f3
commit
057c7f0dd2
1 changed files with 2 additions and 0 deletions
|
|
@ -651,6 +651,8 @@ class gl_function( gl_item ):
|
|||
|
||||
if alias:
|
||||
true_name = alias
|
||||
if name in static_data.offsets:
|
||||
raise RuntimeError("Aliased entry-point %s shouldn't be in static_data.py." % (name))
|
||||
else:
|
||||
true_name = name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue