From 52eea799285998d9d9595945f89c27a0be64b090 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 21 Jan 2016 16:04:41 +0100 Subject: [PATCH] Fix texture tear issue --- src/client/clientlauncher.cpp | 1 + 1 file changed, 1 insertion(+) 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 + -- 2.25.1