summaryrefslogtreecommitdiff
path: root/glretrace.py
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-05-09 11:33:47 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-05-09 11:33:47 +0100
commit3a84b684f0c5c1aeff57dff7bc355fc14115d11b (patch)
tree5f5d70d96b76a90f0fefbbafce3a1e54153820de /glretrace.py
parent42926463db50d889b4b49497169a5e186c394a5d (diff)
Fix programObj type.
Diffstat (limited to 'glretrace.py')
-rw-r--r--glretrace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glretrace.py b/glretrace.py
index d306754..e1bd4a5 100644
--- a/glretrace.py
+++ b/glretrace.py
@@ -174,7 +174,7 @@ class GlRetracer(Retracer):
if arg.type is glapi.GLlocationARB \
and 'programObj' not in [arg.name for arg in function.args]:
- print ' GLint programObj = glGetHandleARB(GL_PROGRAM_OBJECT_ARB);'
+ print ' GLhandleARB programObj = glGetHandleARB(GL_PROGRAM_OBJECT_ARB);'
Retracer.extract_arg(self, function, arg, arg_type, lvalue, rvalue)