From 4b74777fcf9d60d6b4dbf7d308bf89344fbbfe5f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 13 Nov 2021 01:31:28 +0100 Subject: [PATCH] Display image name in callstack tooltips. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index cb22b73d..b04cd290 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -17853,6 +17853,14 @@ void View::CallstackTooltipContents( uint32_t idx ) { ImGui::TextUnformatted( txt ); } + if( frameData->imageName.Active() ) + { + ImGui::SameLine(); + if( m_smallFont ) ImGui::PushFont( m_smallFont ); + ImGui::AlignTextToFramePadding(); + TextDisabledUnformatted( m_worker.GetString( frameData->imageName ) ); + if( m_smallFont ) ImGui::PopFont(); + } } } }