From f824866686ddba471a7b0c3178eaf968883bb69e Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Wed, 11 Feb 2015 17:01:19 +1000 Subject: Revert "Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting" This reverts commit d25ff8fd2592f457b91e8a61240694af3902d23f. --- src/client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client.cpp') 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"); -- cgit v1.2.3