From 3a84b684f0c5c1aeff57dff7bc355fc14115d11b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 9 May 2011 11:33:47 +0100 Subject: [PATCH] Fix programObj type. --- glretrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4