mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Properly setting LIBGL_ES
Before: LIBGL_ES=3_desktopgl_angle_vulkan
This commit is contained in:
parent
537581c21d
commit
20e63ce68a
@ -249,7 +249,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