summaryrefslogtreecommitdiffhomepage
path: root/draw/floor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'draw/floor.cpp')
-rw-r--r--draw/floor.cpp3
1 files changed, 1 insertions, 2 deletions
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);