Allow viewing callstack from gpu zone info window.

This commit is contained in:
Bartosz Taudul 2018-06-22 01:58:14 +02:00
parent 35dc2f796e
commit e5f673eaa0

View File

@ -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();