Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-06-03 02:28:45 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-06-03 02:28:45 +0300
commitc433e76c7ae23ca46be86fc8183224322d5ad4dd (patch)
treedf1a7c2fec6665e2abbfdb42c977da366207d5d9 /server/TracyImGui.hpp
parent42fefde161a9fab0b7d12cbc39405500f04df30f (diff)
Use TextUnformatted in TextCentered.
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r--server/TracyImGui.hpp2
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 )