1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add GPU statistics radio button.

This commit is contained in:
Bartosz Taudul 2022-01-29 00:33:53 +01:00
parent 28d029f820
commit 7a1b9efc2f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -12739,6 +12739,13 @@ void View::DrawStatistics()
ImGui::RadioButton( ICON_FA_PUZZLE_PIECE " Symbols", &m_statMode, 1 );
}
}
if( m_worker.GetGpuZoneCount() > 0 )
{
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();
ImGui::RadioButton( ICON_FA_EYE " GPU", &m_statMode, 2 );
}
ImGui::SameLine();
ImGui::Spacing();
ImGui::SameLine();