1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;