summaryrefslogtreecommitdiffhomepage
path: root/draw/wall.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-08 19:25:39 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-08 19:57:36 +0100
commit64ad9c57f1b39f6d35f5187992b4d3fb5b7d087f (patch)
tree83a88a2cd8e7675992f9be642d60329a3f4bf3c1 /draw/wall.cpp
parentf4ff492c1665d6f5c71d6ca2102827bc037056de (diff)
draw: reoder some debug macros
Diffstat (limited to 'draw/wall.cpp')
-rw-r--r--draw/wall.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/draw/wall.cpp b/draw/wall.cpp
index 51b91705..a88844a6 100644
--- a/draw/wall.cpp
+++ b/draw/wall.cpp
@@ -9,8 +9,6 @@
namespace floormat {
-//#define FM_DEBUG_DRAW_COUNT
-
constexpr auto quad_index_count = 6;
wall_mesh::wall_mesh() = default;
@@ -43,6 +41,7 @@ void wall_mesh::draw(tile_shader& shader, chunk& c)
do_draw(k, c.wall_atlas_at(ids[k]), max_index);
do_draw(size, nullptr, max_index);
+//#define FM_DEBUG_DRAW_COUNT
#ifdef FM_DEBUG_DRAW_COUNT
if (draw_count)
fm_debug("wall draws: %zu", draw_count);