diff options
Diffstat (limited to 'retrace/daemon/glframe_retrace.cpp')
-rw-r--r-- | retrace/daemon/glframe_retrace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/retrace/daemon/glframe_retrace.cpp b/retrace/daemon/glframe_retrace.cpp index 105ddd4f..58929bb7 100644 --- a/retrace/daemon/glframe_retrace.cpp +++ b/retrace/daemon/glframe_retrace.cpp @@ -140,7 +140,7 @@ FrameRetrace::openFile(const std::string &filename, delete call; if (frame_boundary) { ++current_frame; - callback->onFileOpening(false, false, current_frame * 100 / framenumber); + callback->onFileOpening(false, false, current_frame); if (current_frame == framenumber) break; } @@ -178,7 +178,7 @@ FrameRetrace::openFile(const std::string &filename, // record the final render as ending a render target region render_target_regions.push_back(RenderId(m_renders.size() - 1)); - callback->onFileOpening(false, true, 100); + callback->onFileOpening(false, true, current_frame); } int |