mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove dead code behind Irrlicht version checks
This commit is contained in:
@@ -1395,14 +1395,6 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset):
|
||||
MapBlockMesh::~MapBlockMesh()
|
||||
{
|
||||
for (scene::IMesh *m : m_mesh) {
|
||||
#if IRRLICHT_VERSION_MT_REVISION < 5
|
||||
if (m_enable_vbo) {
|
||||
for (u32 i = 0; i < m->getMeshBufferCount(); i++) {
|
||||
scene::IMeshBuffer *buf = m->getMeshBuffer(i);
|
||||
RenderingEngine::get_video_driver()->removeHardwareBuffer(buf);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
m->drop();
|
||||
}
|
||||
for (MinimapMapblock *block : m_minimap_mapblocks)
|
||||
|
Reference in New Issue
Block a user