mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +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 "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();
|
||||
|
Loading…
Reference in New Issue
Block a user