summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_XML.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-03-11 10:47:22 +0000
committerDave Airlie <[email protected]>2012-03-11 16:50:29 +0000
commit10d3b6500bc36c163bb13783848b201793d268d3 (patch)
treedd35ad67cc65cf1409510944aa719a5f174bfd4b /src/mapi/glapi/gen/gl_XML.py
parent7221f52389f788f95ccf5816e2370b5a1acef7f7 (diff)
glapi/gen: Add support for pointer types.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/gl_XML.py')
-rw-r--r--src/mapi/glapi/gen/gl_XML.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 4dc2e8fa7fb..340a581f134 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++ b/src/mapi/glapi/gen/gl_XML.py
@@ -340,6 +340,7 @@ class gl_type( gl_item ):
tn.size = int( element.nsProp( "size", None ), 0 )
tn.integer = not is_attr_true( element, "float" )
tn.unsigned = is_attr_true( element, "unsigned" )
+ tn.pointer = is_attr_true( element, "pointer" )
tn.name = "GL" + self.name
te.set_base_type_node( tn )