]> git.cworth.org Git - apitrace/commitdiff
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 d3067541d3eb1fd5cb8cb8c5eeb0260961634bad..e1bd4a595e92c2a29f7608fdab3d11369fd269b8 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)