]> git.cworth.org Git - apitrace/blobdiff - wrappers/d3d11trace.py
Cleanup shadow buffers.
[apitrace] / wrappers / d3d11trace.py
index b25276a0386f7acb40df48ada1c25b75db472d96..80e855fe18bbff13579bdc433b3533513e4d283d 100644 (file)
@@ -36,18 +36,13 @@ if __name__ == '__main__':
     print '#include "trace_writer_local.hpp"'
     print '#include "os.hpp"'
     print
-    print '#include <windows.h>'
-    print '#include <tchar.h>'
+    print '#include "d3d11imports.hpp"'
     print
-    print '#include "compat.h"'
-    print
-    print '#include <d3d11.h>'
 
     if int(sys.argv[1]):
         import specs.d3d11_1
         print '#include <d3d11_1.h>'
+        print
 
-    print '#include <d3dx11.h>'
-    print
     tracer = DllTracer('d3d11.dll')
     tracer.traceApi(d3d11)