diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-11-23 21:35:30 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-11-23 21:35:30 +0000 |
commit | f8f6e4544976184b6c24f08c6129655904e7a274 (patch) | |
tree | 51d0862d095f181235f1aaa53eaa1fb6be71372f /glxtrace.py | |
parent | a34761232d38b0e288ceba866397f8902e82a80f (diff) |
Keep gl function pointers.
Diffstat (limited to 'glxtrace.py')
-rw-r--r-- | glxtrace.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glxtrace.py b/glxtrace.py index 0e7dc57..1874f94 100644 --- a/glxtrace.py +++ b/glxtrace.py @@ -59,6 +59,7 @@ class GlxTracer(trace.Tracer): ptype = self.function_pointer_type(f) pvalue = self.function_pointer_value(f) print ' if(!strcmp("%s", (const char *)procName)) {' % f.name + print ' %s = (%s)%s;' % (pvalue, ptype, instance) print ' %s = (%s)&%s;' % (instance, function.type, f.name); print ' }' print ' }' |