Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-07-30 20:32:25 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-07-30 20:32:25 +0300
commitb19f9e1f4d5da34337a8da55301b0545c62a9bf6 (patch)
treeeeedb4ad1bb918ef0b15b7dd8ac5456bc0c45d6f /server/TracyView_FrameTimeline.cpp
parent92871ba75ad279be275a2466e7d3513e9bcbea7a (diff)
Use common functionality to get frame set name.
Diffstat (limited to 'server/TracyView_FrameTimeline.cpp')
-rw-r--r--server/TracyView_FrameTimeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyView_FrameTimeline.cpp b/server/TracyView_FrameTimeline.cpp
index f99a7c0a..96ab66b1 100644
--- a/server/TracyView_FrameTimeline.cpp
+++ b/server/TracyView_FrameTimeline.cpp
@@ -320,7 +320,7 @@ void View::DrawTimelineFrames( const FrameData& frames )
ImGui::BeginTooltip();
TextDisabledUnformatted( "Frame set:" );
ImGui::SameLine();
- ImGui::TextUnformatted( frames.name == 0 ? "Frames" : m_worker.GetString( frames.name ) );
+ ImGui::TextUnformatted( GetFrameSetName( frames ) );
ImGui::EndTooltip();
}
if( IsMouseClicked( 0 ) )