From 98a0e8c908006c3663dff53627a6772e6ee1c4c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 21 Dec 2022 01:55:46 -0500 Subject: [PATCH] glthread: make marshal functions for glBegin/End attribs non-static for a future commit Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- 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')