mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Allow viewing callstack from zone info window.
This commit is contained in:
parent
5e01a8ead9
commit
e40c5068c9
@ -2778,6 +2778,14 @@ void View::DrawZoneInfoWindow()
|
||||
{
|
||||
m_findZone.ShowZone( ev.srcloc, m_worker.GetString( srcloc.name.active ? srcloc.name : srcloc.function ) );
|
||||
}
|
||||
if( ev.callstack != 0 )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
if( ImGui::Button( "Callstack" ) )
|
||||
{
|
||||
m_callstackInfoWindow = ev.callstack;
|
||||
}
|
||||
}
|
||||
if( !m_zoneInfoStack.empty() )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
|
Loading…
Reference in New Issue
Block a user