diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2016-01-21 16:04:41 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-01-23 06:01:57 +0100 |
commit | 52eea799285998d9d9595945f89c27a0be64b090 (patch) | |
tree | 5a228cd1d2dbef3f88185e9e128d5be3c3543745 | |
parent | e50c784e2ca55735fc360ae51534288c2ea59ca5 (diff) | |
download | minetest-52eea799285998d9d9595945f89c27a0be64b090.tar.gz minetest-52eea799285998d9d9595945f89c27a0be64b090.tar.bz2 minetest-52eea799285998d9d9595945f89c27a0be64b090.zip |
Fix texture tear issue
-rw-r--r-- | src/client/clientlauncher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index be6426627..357d98b4d 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -544,6 +544,7 @@ bool ClientLauncher::create_engine_device() params.Vsync = vsync; params.EventReceiver = receiver; params.HighPrecisionFPU = g_settings->getBool("high_precision_fpu"); + params.ZBufferBits = 24; #ifdef __ANDROID__ params.PrivateData = porting::app_global; params.OGLES2ShaderPath = std::string(porting::path_user + DIR_DELIM + |