mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
Print git ref in the about dialog.
This commit is contained in:
parent
5934f5da9a
commit
1950040461
@ -68,6 +68,8 @@
|
|||||||
#include "ResolvService.hpp"
|
#include "ResolvService.hpp"
|
||||||
#include "RunQueue.hpp"
|
#include "RunQueue.hpp"
|
||||||
|
|
||||||
|
#include "GitRef.hpp"
|
||||||
|
|
||||||
|
|
||||||
struct ClientData
|
struct ClientData
|
||||||
{
|
{
|
||||||
@ -714,6 +716,11 @@ static void DrawContents()
|
|||||||
ImGui::PushFont( s_bigFont );
|
ImGui::PushFont( s_bigFont );
|
||||||
tracy::TextCentered( buf );
|
tracy::TextCentered( buf );
|
||||||
ImGui::PopFont();
|
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::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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user