diff options
Diffstat (limited to 'wrappers/gltrace.py')
-rw-r--r-- | wrappers/gltrace.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/gltrace.py b/wrappers/gltrace.py index 5c7d22b8..769f2e34 100644 --- a/wrappers/gltrace.py +++ b/wrappers/gltrace.py @@ -315,6 +315,7 @@ class GlTracer(Tracer): ptype = function_pointer_type(function) pvalue = function_pointer_value(function) print ' if (strcmp("%s", (const char *)procName) == 0) {' % function.name + print ' assert(procPtr != (%s)&%s);' % (retType, function.name) print ' %s = (%s)procPtr;' % (pvalue, ptype) print ' return (%s)&%s;' % (retType, function.name,) print ' }' |