summaryrefslogtreecommitdiff
path: root/specs/scripts/gltxt.py
diff options
context:
space:
mode:
Diffstat (limited to 'specs/scripts/gltxt.py')
-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 4ce9232..c1a0aea 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)