aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.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/mapblock_mesh.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/mapblock_mesh.h')
-rw-r--r--src/mapblock_mesh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h
index be56d4c58..98af92c74 100644
--- a/src/mapblock_mesh.h
+++ b/src/mapblock_mesh.h
@@ -45,8 +45,9 @@ struct MeshMakeData
video::SColor m_highlight_mesh_color;
IGameDef *m_gamedef;
+ bool m_use_shaders;
- MeshMakeData(IGameDef *gamedef);
+ MeshMakeData(IGameDef *gamedef, bool use_shaders);
/*
Copy central data directly from block, and other data from