diff --git a/profiler/src/profiler/TracyView_ZoneInfo.cpp b/profiler/src/profiler/TracyView_ZoneInfo.cpp index 3a40edcc..02649049 100644 --- a/profiler/src/profiler/TracyView_ZoneInfo.cpp +++ b/profiler/src/profiler/TracyView_ZoneInfo.cpp @@ -1081,6 +1081,15 @@ void View::DrawZoneInfoWindow() } } + if( m_worker.HasZoneExtra( ev ) && m_worker.GetZoneExtra( ev ).callstack.Val() != 0 ) + { + if( ImGui::TreeNode( "Call stack" ) ) + { + DrawCallstackTable( m_worker.GetZoneExtra( ev ).callstack.Val(), false ); + ImGui::TreePop(); + } + } + ImGui::EndChild(); } ImGui::End(); @@ -1545,6 +1554,15 @@ void View::DrawGpuInfoWindow() } } + if( ev.callstack.Val() != 0 ) + { + if( ImGui::TreeNode( "Call stack" ) ) + { + DrawCallstackTable( ev.callstack.Val(), false ); + ImGui::TreePop(); + } + } + ImGui::EndChild(); } ImGui::End();