diff options
author | Craig Robbins <kde.psych@gmail.com> | 2015-02-11 17:45:49 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-02-11 17:45:49 +1000 |
commit | c8f60bd224bf910d7521669ff4f90c372b289c3e (patch) | |
tree | 9b4afbaac6e71c7ab257fe86b989fd570cfee51d /src/client.h | |
parent | 98b37e3e0d4d0bcea4d0a202f8519a39163b7493 (diff) | |
download | minetest-c8f60bd224bf910d7521669ff4f90c372b289c3e.tar.gz minetest-c8f60bd224bf910d7521669ff4f90c372b289c3e.tar.bz2 minetest-c8f60bd224bf910d7521669ff4f90c372b289c3e.zip |
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
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index fd43361b1..93143009e 100644 --- a/src/client.h +++ b/src/client.h @@ -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 |