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
path: root/server
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2021-03-27 15:01:39 +0300
committerBartosz Taudul <wolf@nereid.pl>2021-03-27 15:03:19 +0300
commitff5435ff672e3d0aa91d1636abbf4f6a99a7094f (patch)
tree2016a6cac03fd371cea32150b856ba3c8fbcf847 /server
parent02cb035768da5fa4824853584d32a5b0d3fc5c8f (diff)
Cosmetics.
Diffstat (limited to 'server')
-rw-r--r--server/TracyImGui.hpp4
-rw-r--r--server/TracySourceTokenizer.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp
index 92310e52..64e63c38 100644
--- a/server/TracyImGui.hpp
+++ b/server/TracyImGui.hpp
@@ -2,7 +2,7 @@
#define __TRACYIMGUI_HPP__
#ifdef _MSC_VER
-# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
+# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
#endif
#include <algorithm>
@@ -193,7 +193,7 @@ namespace tracy
const auto manhatten_distance = x0 + flipped_v0y;
const auto in_multiples_of_2_times_sw = int( manhatten_distance / ( sw*2 ) );
-
+
const auto floored_manhatten_distance = double( in_multiples_of_2_times_sw*sw*2 ); //floor in terms of 2 * stripe width
const auto corrected_flipped_v0y = ( floored_manhatten_distance - x0 ); //the corrected (floored) y respects the position of the stripes
diff --git a/server/TracySourceTokenizer.cpp b/server/TracySourceTokenizer.cpp
index 0ce8f3ed..7618faa6 100644
--- a/server/TracySourceTokenizer.cpp
+++ b/server/TracySourceTokenizer.cpp
@@ -311,5 +311,4 @@ out:
return TokenColor::Default;
}
-
}