aboutsummaryrefslogtreecommitdiff
path: root/src/client/mapblock_mesh.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-01-22 15:09:26 +0000
committerGitHub <noreply@github.com>2021-01-22 15:09:26 +0000
commit4c76239818f5159314f30883f98b977d30aaa26c (patch)
tree42d2fc37b1e5ed2ad1c450a5547fce2ddec75b65 /src/client/mapblock_mesh.cpp
parent67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (diff)
downloadminetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.gz
minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.bz2
minetest-4c76239818f5159314f30883f98b977d30aaa26c.zip
Remove dead code (#10845)
Diffstat (limited to 'src/client/mapblock_mesh.cpp')
-rw-r--r--src/client/mapblock_mesh.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp
index 4c43fcb61..d78a86b2d 100644
--- a/src/client/mapblock_mesh.cpp
+++ b/src/client/mapblock_mesh.cpp
@@ -1176,13 +1176,6 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset):
}
if (m_mesh[layer]) {
-#if 0
- // Usually 1-700 faces and 1-7 materials
- std::cout << "Updated MapBlock has " << fastfaces_new.size()
- << " faces and uses " << m_mesh[layer]->getMeshBufferCount()
- << " materials (meshbuffers)" << std::endl;
-#endif
-
// Use VBO for mesh (this just would set this for ever buffer)
if (m_enable_vbo)
m_mesh[layer]->setHardwareMappingHint(scene::EHM_STATIC);