Print git ref in the about dialog.

This commit is contained in:
Bartosz Taudul 2024-09-08 14:23:05 +02:00
parent 5934f5da9a
commit 1950040461
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -68,6 +68,8 @@
#include "ResolvService.hpp"
#include "RunQueue.hpp"
#include "GitRef.hpp"
struct ClientData
{
@ -714,6 +716,11 @@ static void DrawContents()
ImGui::PushFont( s_bigFont );
tracy::TextCentered( buf );
ImGui::PopFont();
ImGui::PushFont( s_smallFont );
ImGui::PushStyleColor( ImGuiCol_Text, GImGui->Style.Colors[ImGuiCol_TextDisabled] );
tracy::TextCentered( tracy::GitRef );
ImGui::PopStyleColor();
ImGui::PopFont();
ImGui::Spacing();
ImGui::TextUnformatted( "A real time, nanosecond resolution, remote telemetry, hybrid\nframe and sampling profiler for games and other applications." );
ImGui::Spacing();