1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Only retrieve frame offset internally in GetFrameNumber().

This commit is contained in:
Bartosz Taudul
2023-03-04 00:32:15 +01:00
parent 8164b776fd
commit f9449bc938
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ void View::DrawPlayback()
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
TextFocused( "Frame:", RealToString( GetFrameNumber( *frameSet, fi->frameRef, m_worker.GetFrameOffset() ) ) );
TextFocused( "Frame:", RealToString( GetFrameNumber( *frameSet, fi->frameRef ) ) );
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();