Module: Mesa Branch: main Commit: 98a0e8c908006c3663dff53627a6772e6ee1c4c3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98a0e8c908006c3663dff53627a6772e6ee1c4c3
Author: Marek Olšák <[email protected]> Date: Wed Dec 21 01:55:46 2022 -0500 glthread: make marshal functions for glBegin/End attribs non-static for a future commit Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824> --- src/mapi/glapi/gen/marshal_XML.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py index e049f25b1bf..bd8fa36c087 100644 --- a/src/mapi/glapi/gen/marshal_XML.py +++ b/src/mapi/glapi/gen/marshal_XML.py @@ -88,4 +88,6 @@ class marshal_function(gl_XML.gl_function): return 'async' def marshal_is_static(self): - return self.marshal_flavor() != 'custom' and self.name[0:8] != 'Internal' + return (self.marshal_flavor() != 'custom' and + self.name[0:8] != 'Internal' and + self.exec_flavor != 'beginend')
