diff options
author | Craig Robbins <kde.psych@gmail.com> | 2015-02-11 17:01:19 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-02-11 17:01:19 +1000 |
commit | f824866686ddba471a7b0c3178eaf968883bb69e (patch) | |
tree | 44f3e00e3f23f48648e066b70a8cdd41cdd8a08f /src/client.cpp | |
parent | d25ff8fd2592f457b91e8a61240694af3902d23f (diff) | |
download | hax-minetest-server-f824866686ddba471a7b0c3178eaf968883bb69e.tar.gz hax-minetest-server-f824866686ddba471a7b0c3178eaf968883bb69e.zip |
Revert "Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting"
This reverts commit d25ff8fd2592f457b91e8a61240694af3902d23f.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 107e16f14..b13631f95 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -283,7 +283,6 @@ Client::Client( } m_cache_smooth_lighting = g_settings->getBool("smooth_lighting"); - m_cache_enable_shaders = g_settings->getBool("enable_shaders"); } void Client::Stop() @@ -2682,7 +2681,7 @@ void Client::addUpdateMeshTask(v3s16 p, bool ack_to_server, bool urgent) Create a task to update the mesh of the block */ - MeshMakeData *data = new MeshMakeData(this, m_cache_enable_shaders); + MeshMakeData *data = new MeshMakeData(this); { //TimeTaker timer("data fill"); |