Fix texture tear issue
authorRealBadAngel <maciej.kasatkin@o2.pl>
Thu, 21 Jan 2016 15:04:41 +0000 (16:04 +0100)
committerest31 <MTest31@outlook.com>
Sat, 23 Jan 2016 05:01:57 +0000 (06:01 +0100)
src/client/clientlauncher.cpp

index be6426627bef449b1cd9c78e3c9a5d1975dfa8cb..357d98b4da05288a68317d4ba0debd1b58b3d614 100644 (file)
@@ -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 +