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:
parent
cb100e261c
commit
09c38f17e6
@ -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 ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user