]> git.cworth.org Git - apitrace/commitdiff
d3dretrace: Remove left ofer redundant code.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 5 Dec 2012 09:41:37 +0000 (09:41 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 5 Dec 2012 09:41:37 +0000 (09:41 +0000)
retrace/dxgiretrace.py

index a412c3aeb8b86a6b53a61d56740bcc978a78b126..3306d25bf8e77ce256e39bc08d12d8df8e157bce 100644 (file)
@@ -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) {'