mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Use GL3.0 for all platforms
This commit is contained in:
parent
2b1bd90dfa
commit
2662228bec
@ -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;
|
||||||
}});
|
}});
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -172,7 +172,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
|||||||
UINavigationController.attemptRotationToDeviceOrientation();
|
UINavigationController.attemptRotationToDeviceOrientation();
|
||||||
}
|
}
|
||||||
}, new IOSApplicationConfiguration(){{
|
}, new IOSApplicationConfiguration(){{
|
||||||
//errorHandler = ModCrashHandler::handle;
|
useGL30 = true;
|
||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user