1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-08 16:03:53 +00:00

Display custom zone name in zone info window.

This commit is contained in:
Bartosz Taudul 2018-06-29 16:14:31 +02:00
parent cb100e261c
commit 09c38f17e6

View File

@ -2905,6 +2905,10 @@ void View::DrawZoneInfoWindow()
ImGui::Separator(); ImGui::Separator();
const auto tid = GetZoneThread( ev ); const auto tid = GetZoneThread( ev );
if( ev.name.active )
{
ImGui::Text( "Zone name: %s", m_worker.GetString( ev.name ) );
}
if( srcloc.name.active ) if( srcloc.name.active )
{ {
ImGui::Text( "Zone name: %s", m_worker.GetString( srcloc.name ) ); ImGui::Text( "Zone name: %s", m_worker.GetString( srcloc.name ) );