diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-09-22 13:42:42 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-09-24 15:03:39 +0100 |
commit | c44c62c1040471f47960a639141e1692856f7b5b (patch) | |
tree | 0bf248762049350339c426e0a1a85e7139664314 /retrace/dxgiretrace.py | |
parent | 1e309b493525b39771d04640e836517fb3948ee8 (diff) |
d3dretrace: Compact/cleanup private interface implementation.
Diffstat (limited to 'retrace/dxgiretrace.py')
-rwxr-xr-x | retrace/dxgiretrace.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/retrace/dxgiretrace.py b/retrace/dxgiretrace.py index 07302181..3f17a097 100755 --- a/retrace/dxgiretrace.py +++ b/retrace/dxgiretrace.py @@ -187,8 +187,7 @@ class D3DRetracer(Retracer): # intercept private interfaces if method.name == 'QueryInterface': - print r' _result = d3dretrace::QueryInterface(_this, riid, ppvObj);' - print r' if (FAILED(_result)) {' + print r' if (!d3dretrace::overrideQueryInterface(_this, riid, ppvObj, &_result)) {' Retracer.invokeInterfaceMethod(self, interface, method) print r' }' return |