From e5f673eaa0c4ad5a18d078a028b984b593da8407 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 22 Jun 2018 01:58:14 +0200 Subject: [PATCH] Allow viewing callstack from gpu zone info window. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 156e51da..3965cec2 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3060,6 +3060,14 @@ void View::DrawGpuInfoWindow() ShowZoneInfo( *parent, m_gpuInfoWindowThread ); } } + if( ev.callstack != 0 ) + { + ImGui::SameLine(); + if( ImGui::Button( "Callstack" ) ) + { + m_callstackInfoWindow = ev.callstack; + } + } if( !m_gpuInfoStack.empty() ) { ImGui::SameLine();