diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 703eb905..385e9155 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -16,7 +16,7 @@ namespace tracy { const auto tw = ImGui::CalcTextSize( text ).x; ImGui::SetCursorPosX( ( ImGui::GetWindowWidth() - tw ) * 0.5f ); - ImGui::Text( text ); + ImGui::Text( "%s", text ); } }