mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
gl4es: disable overloading default functions shader hack
This fixes startup crash on certain devices, thanks to @NotAHero04
This commit is contained in:
parent
1403a0c0af
commit
5c9db455d8
@ -210,6 +210,9 @@ public class JREUtils {
|
||||
envMap.put("TMPDIR", activity.getCacheDir().getAbsolutePath());
|
||||
envMap.put("LIBGL_MIPMAP", "3");
|
||||
|
||||
// On certain GLES drivers, overloading default functions shader hack fails, so disable it
|
||||
envMap.put("LIBGL_NOINTOVLHACK", "1");
|
||||
|
||||
// The shrink hack can be enabled from the experimental settings
|
||||
envMap.put("LIBGL_SHRINK", PREF_GLES_SHRINK_HACK);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user