diff options
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/marshal_XML.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/marshal_XML.py b/src/mapi/glapi/gen/marshal_XML.py index fba077a75da..3ef91dd8a40 100644 --- a/src/mapi/glapi/gen/marshal_XML.py +++ b/src/mapi/glapi/gen/marshal_XML.py @@ -61,6 +61,12 @@ class marshal_function(gl_XML.gl_function): if (type, param.name) == ('GLint', 'size'): return 'GLpacked16i' + # glVertexAttrib*Pointer(index) + # glVertexArrayVertexBuffer(bindingindex) + if ((type, param.name) == ('GLuint', 'index') or + (type, param.name) == ('GLuint', 'bindingindex')): + return 'GLenum8' # clamped to 0xff + return type def get_type_size(self, param): |