summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-12-01 09:30:12 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-12-01 09:30:12 +0000
commit382d662aabebe85e8bc6f941eafc76454be24577 (patch)
tree47928a4474341da92a9ecefc77f9f98b6c4f6e3e /specs
parent27ced2422a87714c5c2afea10b946cea977a512c (diff)
Make gltxt.py obbey prefix option for types too.
Diffstat (limited to 'specs')
-rwxr-xr-xspecs/scripts/gltxt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/scripts/gltxt.py b/specs/scripts/gltxt.py
index 4ce92320..c1a0aeaf 100755
--- a/specs/scripts/gltxt.py
+++ b/specs/scripts/gltxt.py
@@ -187,7 +187,7 @@ class TxtParser(LineParser):
if token == 'void':
type = 'Void'
else:
- type = 'GL' + token
+ type = self.prefix.upper() + token
while self.tokens[0] == '*':
type = 'OpaquePointer(%s)' % type
self.tokens.pop(0)