summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)