aboutsummaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2015-02-11 16:02:16 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-02-11 16:02:16 +1000
commitd25ff8fd2592f457b91e8a61240694af3902d23f (patch)
tree9b1a4f3eda3cd5d2ed1be704a69e0f1b80501c83 /src/client.h
parentcfca5f99e62a32b5488d93f771453ef6935c5d4e (diff)
downloadminetest-d25ff8fd2592f457b91e8a61240694af3902d23f.tar.gz
minetest-d25ff8fd2592f457b91e8a61240694af3902d23f.tar.bz2
minetest-d25ff8fd2592f457b91e8a61240694af3902d23f.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.h3
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