From 394d3ef4ffadf95e8adee1ea0aa32e5d46e41877 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 5 Dec 2012 09:41:37 +0000 Subject: [PATCH] d3dretrace: Remove left ofer redundant code. --- retrace/dxgiretrace.py | 8 -------- 1 file changed, 8 deletions(-) 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) {' -- 2.43.0