X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=d3d9.py;h=640d218dc7a8c2b4726d142cd268e6ec92e128ca;hb=9d50fbb84f9b3086aa8e985e32534961336563b2;hp=b99cf0d7e29a554ee4ec06fc857f871a27a35a69;hpb=a07689f85584c88efe8608f2c07909f400afaebf;p=apitrace diff --git a/d3d9.py b/d3d9.py index b99cf0d..640d218 100644 --- a/d3d9.py +++ b/d3d9.py @@ -445,7 +445,7 @@ d3d9.add_functions([ StdFunction(Void, "D3DPERF_SetMarker", [(D3DCOLOR, "col"), (LPCWSTR, "wszName")]), StdFunction(Void, "D3DPERF_SetRegion", [(D3DCOLOR, "col"), (LPCWSTR, "wszName")]), StdFunction(BOOL, "D3DPERF_QueryRepeatFrame", [], fail='FALSE'), - StdFunction(Void, "D3DPERF_SetOptions", [(DWORD, "dwOptions")], fail=''), + StdFunction(Void, "D3DPERF_SetOptions", [(DWORD, "dwOptions")]), StdFunction(DWORD, "D3DPERF_GetStatus", [], fail='0'), ]) @@ -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)