diff --git a/src/mapi/glapi/gen/ARB_program_interface_query.xml b/src/mapi/glapi/gen/ARB_program_interface_query.xml
index c3162f5ed16..c14cb6ba767 100644
--- a/src/mapi/glapi/gen/ARB_program_interface_query.xml
+++ b/src/mapi/glapi/gen/ARB_program_interface_query.xml
@@ -74,7 +74,7 @@
-
+
@@ -83,9 +83,9 @@
-
+
-
+
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index b2e91ff7b7f..7dbcced8caa 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -5410,7 +5410,7 @@
-
+
diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py
index f6025743052..b2465438710 100644
--- a/src/mapi/glapi/gen/marshal_XML.py
+++ b/src/mapi/glapi/gen/marshal_XML.py
@@ -24,6 +24,7 @@
# building thread marshalling code.
import gl_XML
+import sys
# We decrease the type size when it's safe, such as when the maximum value
# and all greater values are invalid.
@@ -95,10 +96,11 @@ def get_type_size(func_name, param):
'GLuint64': 8,
'GLuint64EXT': 8,
'GLsync': 8,
+ 'GLDEBUGPROC': 8,
}
val = mapping.get(type, 9999)
if val == 9999:
- print('Unhandled type in marshal_XML.get_type_size: ' + type, file=sys.stderr)
+ print('Unhandled type in marshal_XML.get_type_size: "{0}"'.format(type), file=sys.stderr)
assert False
return val