Remove obsolete commented code (follow up to #12166)

pull/56/head
Dmitry Kostenko 2022-04-07 22:38:01 +02:00
parent 48f7c5603e
commit 23516acd0b
1 changed files with 0 additions and 9 deletions

View File

@ -879,15 +879,6 @@ void ClientMap::updateDrawListShadow(v3f shadow_light_pos, v3f shadow_light_dir,
}
m_drawlist_shadow.clear();
// We need to append the blocks from the camera POV because sometimes
// they are not inside the light frustum and it creates glitches.
// FIXME: This could be removed if we figure out why they are missing
// from the light frustum.
// for (auto &i : m_drawlist) {
// i.second->refGrab();
// m_drawlist_shadow[i.first] = i.second;
// }
// Number of blocks currently loaded by the client
u32 blocks_loaded = 0;
// Number of blocks with mesh in rendering range