Skip to content

Commit

Permalink
Remove obsolete commented code (follow up to minetest#12166)
Browse files Browse the repository at this point in the history
  • Loading branch information
x2048 committed Apr 7, 2022
1 parent 48f7c56 commit 23516ac
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/client/clientmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23516ac

Please sign in to comment.