mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-13 01:07:30 +07:00
Enabled gl30 by default, will likely crash on certain devices...
This commit is contained in:
@ -180,6 +180,7 @@ public class AndroidLauncher extends AndroidApplication{
|
||||
}, new AndroidApplicationConfiguration(){{
|
||||
useImmersiveMode = true;
|
||||
hideStatusBar = true;
|
||||
useGL30 = true;
|
||||
}});
|
||||
checkFiles(getIntent());
|
||||
|
||||
|
@ -8,7 +8,6 @@ import mindustry.ui.*;
|
||||
import mindustry.world.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
//TODO test!
|
||||
public class ConsumeLiquids extends Consume{
|
||||
public final LiquidStack[] liquids;
|
||||
|
||||
|
@ -41,10 +41,8 @@ public class DesktopLauncher extends ClientLauncher{
|
||||
maximized = true;
|
||||
width = 900;
|
||||
height = 700;
|
||||
//enable gl3 with command-line argument
|
||||
if(Structs.contains(arg, "-gl3")){
|
||||
gl30 = true;
|
||||
}
|
||||
//gl30 now default, disable with argument.
|
||||
gl30 = !Structs.contains(arg, "-gl2");
|
||||
if(Structs.contains(arg, "-antialias")){
|
||||
samples = 16;
|
||||
}
|
||||
|
@ -177,7 +177,9 @@ public class IOSLauncher extends IOSApplication.Delegate{
|
||||
forced = false;
|
||||
UINavigationController.attemptRotationToDeviceOrientation();
|
||||
}
|
||||
}, new IOSApplicationConfiguration());
|
||||
}, new IOSApplicationConfiguration(){{
|
||||
useGL30 = true;
|
||||
}});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user