From 64ad9c57f1b39f6d35f5187992b4d3fb5b7d087f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 8 Dec 2022 19:25:39 +0100 Subject: draw: reoder some debug macros --- draw/floor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'draw/floor.cpp') diff --git a/draw/floor.cpp b/draw/floor.cpp index fe585977..0f342a4e 100644 --- a/draw/floor.cpp +++ b/draw/floor.cpp @@ -9,8 +9,6 @@ namespace floormat { floor_mesh::floor_mesh() = default; -//#define FM_DEBUG_DRAW_COUNT - void floor_mesh::draw(tile_shader& shader, chunk& c) { constexpr int quad_index_count = 6; @@ -41,6 +39,7 @@ void floor_mesh::draw(tile_shader& shader, chunk& c) do_draw(k, c.ground_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("floor draws: %zu", draw_count); -- cgit v1.2.3