Fixed green line bug - Removed stencil+depth buffers

This commit is contained in:
Anuken 2021-02-16 13:02:15 -05:00
parent fdd1c01ac3
commit b0082c92c5
7 changed files with 22 additions and 29 deletions

View file

@ -16,7 +16,6 @@ import mindustry.net.*;
import mindustry.ui.*;
import org.robovm.apple.coregraphics.*;
import org.robovm.apple.foundation.*;
import org.robovm.apple.glkit.*;
import org.robovm.apple.uikit.*;
import org.robovm.objc.block.*;
@ -25,7 +24,7 @@ import java.util.*;
import java.util.zip.*;
import static mindustry.Vars.*;
import static org.robovm.apple.foundation.NSPathUtilities.getDocumentsDirectory;
import static org.robovm.apple.foundation.NSPathUtilities.*;
//warnings for deprecated functions related to multi-window applications are not applicable here
@SuppressWarnings("deprecation")
@ -175,9 +174,7 @@ public class IOSLauncher extends IOSApplication.Delegate{
forced = false;
UINavigationController.attemptRotationToDeviceOrientation();
}
}, new IOSApplicationConfiguration(){{
stencilFormat = GLKViewDrawableStencilFormat._8;
}});
}, new IOSApplicationConfiguration());
}
@Override