mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix texture tear issue
This commit is contained in:
@@ -544,6 +544,7 @@ bool ClientLauncher::create_engine_device()
|
|||||||
params.Vsync = vsync;
|
params.Vsync = vsync;
|
||||||
params.EventReceiver = receiver;
|
params.EventReceiver = receiver;
|
||||||
params.HighPrecisionFPU = g_settings->getBool("high_precision_fpu");
|
params.HighPrecisionFPU = g_settings->getBool("high_precision_fpu");
|
||||||
|
params.ZBufferBits = 24;
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
params.PrivateData = porting::app_global;
|
params.PrivateData = porting::app_global;
|
||||||
params.OGLES2ShaderPath = std::string(porting::path_user + DIR_DELIM +
|
params.OGLES2ShaderPath = std::string(porting::path_user + DIR_DELIM +
|
||||||
|
Reference in New Issue
Block a user