From 50f5345ea584821c89814157bd8c484c4319e11d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 16 Jun 2024 12:52:17 +0200 Subject: [PATCH] Add a help marker for the target FPS setting. --- profiler/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 89f7367e..46c4a7ce 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -735,6 +735,8 @@ static void DrawContents() ImGui::Spacing(); ImGui::TextUnformatted( "Target FPS" ); ImGui::SameLine(); + tracy::DrawHelpMarker( "The default target frame rate for your application. Frames displayed in the frame time graph will be colored accordingly if they are within the target frame rate. This can be adjusted later for each individual trace." ); + ImGui::SameLine(); int tmp = s_config.targetFps; ImGui::SetNextItemWidth( 90 * dpiScale ); if( ImGui::InputInt( "##targetfps", &tmp ) ) { s_config.targetFps = std::clamp( tmp, 1, 9999 ); SaveConfig(); }