Przeglądaj źródła

* Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform()

shadowislord 10 lat temu
rodzic
commit
86dbade689

+ 6 - 1
jme3-core/src/main/java/com/jme3/system/Platform.java

@@ -95,7 +95,12 @@ public enum Platform {
     
     iOS_X86,
     
-    iOS_ARM;
+    iOS_ARM,
+    
+    /**
+     * Android running on unknown platform (could be x86 or mips for example).
+     */
+    Android_Other;
     
     private final boolean is64bit;