summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 7e5809f8..237a85c5 100644
--- a/main.cpp
+++ b/main.cpp
@@ -86,10 +86,6 @@ chunk app::make_test_chunk()
void app::draw_chunk(chunk& c)
{
constexpr auto N = TILE_MAX_DIM;
-
- for (std::size_t j = 0, k = 0; j < N; j++)
- for (std::size_t i = 0; i < N; i++, k++)
- _floor_mesh.set_tile(c[k], {i, j});
_floor_mesh.draw(_shader, c);
}