HACK: fixes the vbo crashes on older versions by force disabling it

This commit is contained in:
LegacyGamerHD 2021-07-22 13:43:11 +02:00 committed by GitHub
parent a7135cac1d
commit 6c813f3d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,6 +209,9 @@ public class JREUtils
// Fix white color on banner and sheep, since GL4ES 1.1.5
envMap.put("LIBGL_NORMALIZE", "1");
// HACK: fixes the vbo crashes on older versions by force disabling it
envMap.put("LIBGL_USEVBO", "0");
envMap.put("MESA_GLSL_CACHE_DIR", ctx.getCacheDir().getAbsolutePath());
envMap.put("MESA_GL_VERSION_OVERRIDE", "4.6");