diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-06-03 02:28:45 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-06-03 02:28:45 +0300 |
commit | c433e76c7ae23ca46be86fc8183224322d5ad4dd (patch) | |
tree | df1a7c2fec6665e2abbfdb42c977da366207d5d9 /server/TracyImGui.hpp | |
parent | 42fefde161a9fab0b7d12cbc39405500f04df30f (diff) |
Use TextUnformatted in TextCentered.
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r-- | server/TracyImGui.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index b48be85a..cd497f1b 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( "%s", text ); + ImGui::TextUnformatted( text ); } static inline void DrawWaitingDots( double time ) |