Skip to content

Commit

Permalink
Mark debug builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Oct 14, 2024
1 parent 1bd56a9 commit 697ea8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profiler/src/profiler/TracyView_NotificationArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ void View::DrawNotificationArea()
const auto fps = RealToString( int( io.Framerate + 0.5f ) );
const auto fpssz = ImGui::CalcTextSize( fps ).x;
ImGui::GetWindowDrawList()->AddText( wpos + ImVec2( w-fpssz, 0 ), 0x88FFFFFF, fps );

#ifndef NDEBUG
const auto dsz = ImGui::CalcTextSize( "8888 DEBUG" ).x;
ImGui::GetWindowDrawList()->AddText( wpos + ImVec2( w-dsz, 0 ), 0x886666FF, "DEBUG" );
#endif

ImGui::PopFont();
}

Expand Down

0 comments on commit 697ea8b

Please sign in to comment.