Skip to content

Commit

Permalink
UI: minor fix to ensure the replay exists when needed
Browse files Browse the repository at this point in the history
(cherry picked from commit 6873bd3736e88a2d059fa90a9eb34f818f069bbe)
  • Loading branch information
Peter Lohrmann authored and cworth-gh committed Apr 1, 2014
1 parent 9ea8c0a commit c7738c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vogleditor/vogleditor_tracereplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ bool vogleditor_traceReplayer::replay(vogl_trace_file_reader* m_pTraceReader, vo
if (bStatus == false)
{
vogl_error_printf("%s: Replay ending abruptly at frame index %u, global api call %" PRIu64 "\n", VOGL_FUNCTION_NAME, m_pTraceReplayer->get_frame_index(), m_pTraceReplayer->get_last_processed_call_counter());
break;
}
else
{
Expand All @@ -283,6 +284,10 @@ bool vogleditor_traceReplayer::replay(vogl_trace_file_reader* m_pTraceReader, vo
}
}
}
else
{
break;
}
}
}

Expand Down

0 comments on commit c7738c0

Please sign in to comment.