summaryrefslogtreecommitdiffhomepage
path: root/floor-mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'floor-mesh.cpp')
-rw-r--r--floor-mesh.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/floor-mesh.cpp b/floor-mesh.cpp
index 66aa2b12..0886dc34 100644
--- a/floor-mesh.cpp
+++ b/floor-mesh.cpp
@@ -30,7 +30,6 @@ void floor_mesh::draw(tile_shader& shader, chunk& c)
set_tile(data[idx], x);
});
_vertex_buffer.setData(data, Magnum::GL::BufferUsage::DynamicDraw);
-#if 1
Magnum::GL::MeshView mesh{_mesh};
mesh.setCount(quad_index_count);
tile_atlas* last_tile_atlas = nullptr;
@@ -43,10 +42,6 @@ void floor_mesh::draw(tile_shader& shader, chunk& c)
}
shader.draw(mesh);
});
-#else
- c[0].ground_image.atlas->texture().bind(0);
- shader.draw(_mesh);
-#endif
}
static auto make_index_array()