Add debug build note to about window.

This commit is contained in:
Bartosz Taudul 2024-10-16 00:28:24 +02:00
parent f7e26acfb9
commit 60f461d94d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -729,6 +729,13 @@ static void DrawContents()
ImGui::SetClipboardText( tracy::GitRef ); ImGui::SetClipboardText( tracy::GitRef );
} }
} }
#ifndef NDEBUG
ImGui::PushFont( s_smallFont );
ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 1.f, 0.5f, 0.5f, 1.f ) );
tracy::TextCentered( "Debug build" );
ImGui::PopStyleColor();
ImGui::PopFont();
#endif
ImGui::Spacing(); ImGui::Spacing();
ImGui::TextUnformatted( "A real time, nanosecond resolution, remote telemetry, hybrid\nframe and sampling profiler for games and other applications." ); ImGui::TextUnformatted( "A real time, nanosecond resolution, remote telemetry, hybrid\nframe and sampling profiler for games and other applications." );
ImGui::Spacing(); ImGui::Spacing();