diff options
Diffstat (limited to 'src/mapi/glapi/gen/marshal_XML.py')
-rw-r--r-- | src/mapi/glapi/gen/marshal_XML.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py index d761e58ce83..5b682c51965 100644 --- a/src/mapi/glapi/gen/marshal_XML.py +++ b/src/mapi/glapi/gen/marshal_XML.py @@ -77,7 +77,9 @@ class marshal_function(gl_XML.gl_function): for p in self.parameters: if p.is_output: return 'sync' - if p.is_pointer() and not (p.count or p.counter) and not (self.marshal == 'draw' and p.name == 'indices'): + if (p.is_pointer() and not (p.count or p.counter) + and not (self.marshal == 'draw' + and (p.name == 'indices' or p.name == 'indirect'))): return 'sync' if p.count_parameter_list: # Parameter size is determined by enums; haven't |