mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Remove unnecessary environment variables (#4761)
* Update JREUtils.java Remove useless environment variables * Update JREUtils.java Fix formatting Co-authored-by: Mathias Boulay <mathiasboulay@free.fr> --------- Co-authored-by: Mathias Boulay <mathiasboulay@free.fr>
This commit is contained in:
parent
16c7c44313
commit
0eb6dc7ca2
@ -198,10 +198,6 @@ public class JREUtils {
|
||||
envMap.put("FORCE_VSYNC", String.valueOf(LauncherPreferences.PREF_FORCE_VSYNC));
|
||||
|
||||
envMap.put("MESA_GLSL_CACHE_DIR", Tools.DIR_CACHE.getAbsolutePath());
|
||||
if (LOCAL_RENDERER != null) {
|
||||
envMap.put("MESA_GL_VERSION_OVERRIDE", LOCAL_RENDERER.equals("opengles3_virgl")?"4.3":"4.6");
|
||||
envMap.put("MESA_GLSL_VERSION_OVERRIDE", LOCAL_RENDERER.equals("opengles3_virgl")?"430":"460");
|
||||
}
|
||||
envMap.put("force_glsl_extensions_warn", "true");
|
||||
envMap.put("allow_higher_compat_version", "true");
|
||||
envMap.put("allow_glsl_extension_directive_midshader", "true");
|
||||
@ -214,9 +210,6 @@ public class JREUtils {
|
||||
envMap.put("PATH", FFmpegPlugin.libraryPath+":"+envMap.get("PATH"));
|
||||
}
|
||||
|
||||
envMap.put("REGAL_GL_VENDOR", "Android");
|
||||
envMap.put("REGAL_GL_RENDERER", "Regal");
|
||||
envMap.put("REGAL_GL_VERSION", "4.5");
|
||||
if(LOCAL_RENDERER != null) {
|
||||
envMap.put("POJAV_RENDERER", LOCAL_RENDERER);
|
||||
if(LOCAL_RENDERER.equals("opengles3_desktopgl_angle_vulkan")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user