From: José Fonseca Date: Fri, 4 May 2012 14:08:01 +0000 (+0100) Subject: Don't try to share surfaces. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7546ebfd7dab5544e44956392ff53acb0bd4a92c;p=apitrace Don't try to share surfaces. --- diff --git a/retrace/d3dretrace.py b/retrace/d3dretrace.py index 18c01df..fd0e573 100644 --- a/retrace/d3dretrace.py +++ b/retrace/d3dretrace.py @@ -56,6 +56,12 @@ class D3DRetracer(Retracer): if method.name == 'Present': print r' retrace::frameComplete(call);' + if 'pSharedHandle' in method.argNames(): + print r' if (pSharedHandle) {' + print r' retrace::warning(call) << "shared surfaces unsupported\n";' + print r' pSharedHandle = NULL;' + print r' }' + Retracer.invokeInterfaceMethod(self, interface, method) # check errors