diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 2784f464..2b794fd4 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -150,7 +150,7 @@ static const ImVec4 SyntaxColorsDimmed[] = { [[maybe_unused]] static inline void DrawTextContrast( ImDrawList* draw, const ImVec2& pos, uint32_t color, const char* text ) { - const auto scale = GetScale(); + const auto scale = round( GetScale() ); draw->AddText( pos + ImVec2( scale, scale ), 0xAA000000, text ); draw->AddText( pos, color, text ); }