]> git.cworth.org Git - apitrace/blobdiff - d3d9.py
Remove calls and numCalls from the ApiTrace class.
[apitrace] / d3d9.py
diff --git a/d3d9.py b/d3d9.py
index a63b805e11916ddc371d56ac86c4dd8319b23c4c..640d218dc7a8c2b4726d142cd268e6ec92e128ca 100644 (file)
--- a/d3d9.py
+++ b/d3d9.py
@@ -455,7 +455,7 @@ class D3D9Tracer(DllTracer):
     def dump_arg_instance(self, function, arg):
         # Dump shaders as strings
         if function.name in ('CreateVertexShader', 'CreatePixelShader') and arg.name == 'pFunction':
-            print '    DumpShader(__writer, %s);' % (arg.name)
+            print '    DumpShader(Trace::localWriter, %s);' % (arg.name)
             return
 
         DllTracer.dump_arg_instance(self, function, arg)