]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Remove obsolete commented code (follow up to #12166)
authorDmitry Kostenko <codeforsmile@gmail.com>
Thu, 7 Apr 2022 20:38:01 +0000 (22:38 +0200)
committerDmitry Kostenko <codeforsmile@gmail.com>
Thu, 7 Apr 2022 20:38:01 +0000 (22:38 +0200)
src/client/clientmap.cpp

index 8a059c922d08ef1a4578c3d63f43db0e3c1c2e66..99ff0aefb98c7c1690117cc3759218a49117bfd5 100644 (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