mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
* Increase performance (client) * Avoid changing a global value to solve a local problem
This commit is contained in:
@@ -623,8 +623,9 @@ private:
|
||||
Database *localdb;
|
||||
Server *localserver;
|
||||
|
||||
// TODO: Add callback to update this when g_settings changes
|
||||
// TODO: Add callback to update these when g_settings changes
|
||||
bool m_cache_smooth_lighting;
|
||||
bool m_cache_enable_shaders;
|
||||
};
|
||||
|
||||
#endif // !CLIENT_HEADER
|
||||
|
Reference in New Issue
Block a user