diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-07-15 20:16:40 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-15 20:16:40 +0100 |
commit | 8f34d34693077e6377a8e75ba537069ac368f35b (patch) | |
tree | 3b5a3f46991b932764d89bfc3d25333476102622 /glxtrace.py | |
parent | 1b3d3752685cd15531c45e190c8ed55d31271127 (diff) |
Fix the *GREMEDY proc address return.
Diffstat (limited to 'glxtrace.py')
-rw-r--r-- | glxtrace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glxtrace.py b/glxtrace.py index 7511f0a..6b5d786 100644 --- a/glxtrace.py +++ b/glxtrace.py @@ -101,7 +101,7 @@ if __name__ == '__main__': for f in api.functions: ptype = function_pointer_type(f) pvalue = function_pointer_value(f) - print ' if (!strcmp("%s", (const char *)procName)) {' % f.name + print ' if (strcmp("%s", (const char *)procName) == 0) {' % f.name print ' %s = (%s)procPtr;' % (pvalue, ptype) print ' return (__GLXextFuncPtr)&%s;' % (f.name,) print ' }' |