]> git.cworth.org Git - apitrace/blobdiff - d3d8trace.py
Move local writer definitions to a separate header file.
[apitrace] / d3d8trace.py
index 2b574fb203cf896f9bb0b3e77f9530b048238ab7..d3754e5eb1ff3988b1b7af57266bc4750909b1c5 100644 (file)
@@ -33,7 +33,7 @@ class D3D8Tracer(DllTracer):
     def dump_arg_instance(self, function, arg):
         # Dump shaders as strings
         if function.name in ('CreateVertexShader', 'CreatePixelShader') and arg.name == 'pFunction':
-            print '    DumpShader(Trace::localWriter, %s);' % (arg.name)
+            print '    DumpShader(trace::localWriter, %s);' % (arg.name)
             return
 
         DllTracer.dump_arg_instance(self, function, arg)
@@ -44,7 +44,7 @@ if __name__ == '__main__':
     print '#include <d3d8.h>'
     print '#include "d3dshader.hpp"'
     print
-    print '#include "trace_writer.hpp"'
+    print '#include "trace_writer_local.hpp"'
     print '#include "os.hpp"'
     print
     tracer = D3D8Tracer('d3d8.dll')