From: José Fonseca Date: Wed, 5 Dec 2012 09:41:37 +0000 (+0000) Subject: d3dretrace: Remove left ofer redundant code. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=394d3ef4ffadf95e8adee1ea0aa32e5d46e41877 d3dretrace: Remove left ofer redundant code. --- diff --git a/retrace/dxgiretrace.py b/retrace/dxgiretrace.py index a412c3a..3306d25 100644 --- a/retrace/dxgiretrace.py +++ b/retrace/dxgiretrace.py @@ -74,14 +74,6 @@ createWindow(DXGI_SWAP_CHAIN_DESC *pSwapChainDesc) { if 'pSwapChainDesc' in function.argNames(): print r' createWindow(pSwapChainDesc);' - # Compensate for the fact we don't trace the software renderer - # module LoadLibrary call - if 'Software' in function.argNames(): - print r' if (Software) {' - print r' retrace::warning(call) << "using WARP for software device\n";' - print r' Software = LoadLibraryA("d3d10warp");' - print r' }' - # Compensate for the fact we don't trace DXGI object creation if function.name.startswith('D3D11CreateDevice'): print r' if (DriverType == D3D_DRIVER_TYPE_UNKNOWN && !pAdapter) {'