mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
mapi: drop unneeded gl_dispatch_stub declarations
These declarations are not used anywhere - be that generated code or otherwise. [Emil: format the hunk from Erik into a patch] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
ca152234e1
commit
6148cce388
1 changed files with 2 additions and 1 deletions
|
|
@ -334,7 +334,8 @@ class ABIPrinter(object):
|
|||
if not self.need_entry_point(ent):
|
||||
continue
|
||||
export = self.api_call if not ent.hidden else ''
|
||||
decls.append(self._c_decl(ent, prefix, True, export) + ';')
|
||||
if not ent.hidden:
|
||||
decls.append(self._c_decl(ent, prefix, True, export) + ';')
|
||||
|
||||
return "\n".join(decls)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue