Skip to content

Commit

Permalink
Add debug build note to about window.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Oct 15, 2024
1 parent f7e26ac commit 60f461d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions profiler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,13 @@ static void DrawContents()
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::TextUnformatted( "A real time, nanosecond resolution, remote telemetry, hybrid\nframe and sampling profiler for games and other applications." );
ImGui::Spacing();
Expand Down

0 comments on commit 60f461d

Please sign in to comment.