[Mesa-dev] [PATCH v2 02/24] mapi: drop unneeded gl_dispatch_stub declarations
Emil Velikov
emil.l.velikov at gmail.com
Fri Dec 14 14:04:43 UTC 2018
From: Erik Faye-Lund <erik.faye-lund at collabora.com>
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 at collabora.com>
---
src/mapi/mapi_abi.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
index bb505561e7c..1ce3fd3f1e6 100644
--- a/src/mapi/mapi_abi.py
+++ b/src/mapi/mapi_abi.py
@@ -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)
--
2.19.2
More information about the mesa-dev
mailing list