summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/marshal_XML.py
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-02-27 13:37:14 -0800
committerTimothy Arceri <[email protected]>2017-03-16 14:14:19 +1100
commitb18755a457996cc4e7d9ca9d6beea9314de2d005 (patch)
tree41b39abd748907d6831e35c1427168c7cee9b2bc /src/mapi/glapi/gen/marshal_XML.py
parent47f819d3cb89ab90914181e3c61744ac1f16e056 (diff)
mesa: Add support for NULL arguments like in glBufferData() in marshalling.
This will let us support things like glBufferData() that should be asynchronous. Acked-by: Timothy Arceri <[email protected]> Acked-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]> Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/marshal_XML.py')
-rw-r--r--src/mapi/glapi/gen/marshal_XML.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py
index e8ddb7ff8f6..9d5688decac 100644
--- a/src/mapi/glapi/gen/marshal_XML.py
+++ b/src/mapi/glapi/gen/marshal_XML.py
@@ -88,9 +88,4 @@ class marshal_function(gl_XML.gl_function):
# Parameter size is determined by enums; haven't
# written logic to handle this yet. TODO: fix.
return 'sync'
- if p.img_null_flag:
- # Caller is allowed to pass NULL for this parameter;
- # haven't written logic to handle this yet. TODO:
- # fix.
- return 'sync'
return 'async'