From b826c14e4d28ad8739ddac93d9eb855dd6c14a4e Mon Sep 17 00:00:00 2001 From: Simon van Bernem Date: Fri, 7 Aug 2020 10:37:19 +0200 Subject: [PATCH] reverted an unnecessary change --- server/TracyImGui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 21b236ac..7dabe64a 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -183,6 +183,7 @@ namespace tracy const auto rw = x1 - x0; const auto rh = y1 - y0; + const auto cnt = int((rh + rw + sw * 2) / (sw * 2)); auto v0 = ImVec2( x0, y0 - rw); if (fix_stripes_in_screen_space) @@ -199,7 +200,6 @@ namespace tracy v0.y = window_width - corrected_flipped_v0y - double(inverted * sw); } - const auto cnt = int( ( rh + rw + 2*sw*2 ) / ( sw*2 ) ); for( int i=0; iPathLineTo( v0 + ImVec2( 0, i*sw*2 ) );