aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2015-02-26 14:45:31 +0100
committerBlockMen <nmuelll@web.de>2015-03-05 10:51:18 +0100
commit36e8ba9ce2d9eafb1f36e76e86113ed47afe8f7f (patch)
tree90d78f5d2422bbb9fc2e0922be0460b08a3ffeb4 /src/client
parent365e4ae0faee79ff7b62396f27667e8315ba94d4 (diff)
downloadminetest-36e8ba9ce2d9eafb1f36e76e86113ed47afe8f7f.tar.gz
minetest-36e8ba9ce2d9eafb1f36e76e86113ed47afe8f7f.tar.bz2
minetest-36e8ba9ce2d9eafb1f36e76e86113ed47afe8f7f.zip
Fix some rendering glitches
- Fixes particle draworder - Fixes nodehighlighting
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index 4f419d855..0f60dcd63 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -116,6 +116,7 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args)
input = new RealInputHandler(device, receiver);
smgr = device->getSceneManager();
+ smgr->getParameters()->setAttribute(scene::ALLOW_ZWRITE_ON_TRANSPARENT, true);
guienv = device->getGUIEnvironment();
skin = guienv->getSkin();