1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 11:15:18 +02:00

Separate drawlist from non-rendered blocks. (#13176)

This commit is contained in:
lhofhansl
2023-02-01 08:41:23 -08:00
committed by GitHub
parent 8bbb673c0b
commit 56d2567b5d
2 changed files with 14 additions and 12 deletions

View File

@@ -203,6 +203,7 @@ private:
bool m_needs_update_transparent_meshes = true;
std::map<v3s16, MapBlock*, MapBlockComparer> m_drawlist;
std::vector<MapBlock*> m_keeplist;
std::map<v3s16, MapBlock*> m_drawlist_shadow;
bool m_needs_update_drawlist;