Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk

This commit is contained in:
khanhduytran0 2020-11-20 06:16:49 +07:00
commit a8c4704092

View File

@ -191,7 +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");
// 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"));