]> git.cworth.org Git - apitrace/blobdiff - specs/scripts/glspec.py
Minimal OpenGL 4.3 support.
[apitrace] / specs / scripts / glspec.py
index 2c3c2865329dba6cda1245688af29470a016297a..f21b08d5bf82f6670ecea07a44a77d537cfc4f24 100755 (executable)
@@ -235,7 +235,7 @@ class SpecParser(LineParser):
                     try:
                         int(length)
                     except ValueError:
-                        length = "%s" % length
+                        length = '"%s"' % length
                     arg_type = '%s(%s, %s)' % (constructor, base_type, length)
                 else:
                     if length == "COMPSIZE(pname)":