mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display application info in info window.
This commit is contained in:
@@ -8895,6 +8895,18 @@ void View::DrawInfo()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto& appInfo = m_worker.GetAppInfo();
|
||||
if( !appInfo.empty() )
|
||||
{
|
||||
ImGui::Separator();
|
||||
TextDisabledUnformatted( "Application info:" );
|
||||
for( auto& v : appInfo )
|
||||
{
|
||||
ImGui::TextUnformatted( m_worker.GetString( v ) );
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user