Fix programObj type.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 9 May 2011 10:33:47 +0000 (11:33 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 9 May 2011 10:33:47 +0000 (11:33 +0100)
glretrace.py

index d306754..e1bd4a5 100644 (file)
@@ -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)