mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 23:28:52 -04:00
Maybe fix LIBGL_ES
This commit is contained in:
parent
f336faeb67
commit
13c3443c2f
@ -248,7 +248,7 @@ public class JREUtils {
|
||||
//fallback to 2 since it's the minimum for the entire app
|
||||
envMap.put("LIBGL_ES","2");
|
||||
} else if (LOCAL_RENDERER.startsWith("opengles")) {
|
||||
envMap.put("LIBGL_ES", LOCAL_RENDERER.replace("opengles", "").replace("_5", ""));
|
||||
envMap.put("LIBGL_ES", Character.toString(LOCAL_RENDERER.charAt(8));
|
||||
} else {
|
||||
// TODO if can: other backends such as Vulkan.
|
||||
// Sure, they should provide GLES 3 support.
|
||||
|
Loading…
x
Reference in New Issue
Block a user