Use GL3.0 for all platforms

This commit is contained in:
Anuken 2020-06-10 15:31:43 -04:00
parent 2b1bd90dfa
commit 2662228bec
4 changed files with 4 additions and 2 deletions

View File

@ -146,6 +146,7 @@ public class AndroidLauncher extends AndroidApplication{
}, new AndroidApplicationConfiguration(){{ }, new AndroidApplicationConfiguration(){{
useImmersiveMode = true; useImmersiveMode = true;
hideStatusBar = true; hideStatusBar = true;
useGL30 = true;
errorHandler = CrashSender::log; errorHandler = CrashSender::log;
stencil = 8; stencil = 8;
}}); }});

View File

@ -40,6 +40,7 @@ public class DesktopLauncher extends ClientLauncher{
new SdlApplication(new DesktopLauncher(arg), new SdlConfig(){{ new SdlApplication(new DesktopLauncher(arg), new SdlConfig(){{
title = "Mindustry"; title = "Mindustry";
maximized = true; maximized = true;
gl30 = true;
stencil = 8; stencil = 8;
width = 900; width = 900;
height = 700; height = 700;

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=687070d8d8e81d8d89156062eabf017fde9408ed archash=bcc8e00e80e3d61bfaf612122ebe0adb5b18105b

View File

@ -172,7 +172,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
UINavigationController.attemptRotationToDeviceOrientation(); UINavigationController.attemptRotationToDeviceOrientation();
} }
}, new IOSApplicationConfiguration(){{ }, new IOSApplicationConfiguration(){{
//errorHandler = ModCrashHandler::handle; useGL30 = true;
}}); }});
} }