X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glretrace.py;h=ea307a609f2fa400f302cce1ada087a9f859ca04;hb=efa42fafa14fd26ceba4209c8fec61eaada13861;hp=e80fedbaf852565e2c7c820c92744f054b47094c;hpb=46a4839cd1b65981bec9f33b1d7978b821866a51;p=apitrace diff --git a/glretrace.py b/glretrace.py index e80fedb..ea307a6 100644 --- a/glretrace.py +++ b/glretrace.py @@ -209,7 +209,7 @@ class GlRetracer(Retracer): print ' glretrace::snapshot(call.no - 1);' print ' }' if function.name == 'glFrameTerminatorGREMEDY': - print ' glretrace::frame_complete(call.no);' + print ' glretrace::frame_complete(call);' return Retracer.retrace_function_body(self, function) @@ -217,7 +217,7 @@ class GlRetracer(Retracer): # Post-snapshots if function.name in ('glFlush', 'glFinish'): print ' if (!glretrace::double_buffer) {' - print ' glretrace::frame_complete(call.no);' + print ' glretrace::frame_complete(call);' print ' }' if is_draw_array or is_draw_elements or is_misc_draw: print ' if (glretrace::snapshot_frequency == glretrace::FREQUENCY_DRAW) {'