Update JREUtils.java

This commit is contained in:
LegacyGamerHD 2020-11-19 20:17:47 +01:00 committed by GitHub
parent 42c16e4231
commit e520b52dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,8 +191,9 @@ public class JREUtils
envMap.put("HOME", Tools.MAIN_PATH);
envMap.put("TMPDIR", ctx.getCacheDir().getAbsolutePath());
envMap.put("LIBGL_MIPMAP", "3");
envMap.put("LIBGL_BATCH", "10");
envMap.put("LIBGL_USEVBO", "0");
// those 2 down below make it more laggy also kinda usless as they dont fix the sheep collor \\
// envMap.put("LIBGL_BATCH", "10");
// envMap.put("LIBGL_USEVBO", "0");
envMap.put("MESA_GLSL_CACHE_DIR", ctx.getCacheDir().getAbsolutePath());
envMap.put("LD_LIBRARY_PATH", LD_LIBRARY_PATH);
envMap.put("PATH", Tools.homeJreDir + "/bin:" + Os.getenv("PATH"));