]> git.cworth.org Git - apitrace/blobdiff - d3d8.py
Reduce the size of ApiTraceCall, ApiTraceEvent and ApiTraceFrame
[apitrace] / d3d8.py
diff --git a/d3d8.py b/d3d8.py
index 89ad997ab52ee2c5e63af720e24d34f34da1a3b5..f579a9b40617733f19d243d6532bc8e73a759cd0 100644 (file)
--- a/d3d8.py
+++ b/d3d8.py
@@ -288,7 +288,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(%s);' % (arg.name)
+            print '    DumpShader(Trace::localWriter, %s);' % (arg.name)
             return
 
         DllTracer.dump_arg_instance(self, function, arg)