mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Allow viewing callstack from gpu zone info window.
This commit is contained in:
parent
35dc2f796e
commit
e5f673eaa0
@ -3060,6 +3060,14 @@ void View::DrawGpuInfoWindow()
|
|||||||
ShowZoneInfo( *parent, m_gpuInfoWindowThread );
|
ShowZoneInfo( *parent, m_gpuInfoWindowThread );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if( ev.callstack != 0 )
|
||||||
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Callstack" ) )
|
||||||
|
{
|
||||||
|
m_callstackInfoWindow = ev.callstack;
|
||||||
|
}
|
||||||
|
}
|
||||||
if( !m_gpuInfoStack.empty() )
|
if( !m_gpuInfoStack.empty() )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
Loading…
Reference in New Issue
Block a user