Add missing LIBGL env vars
This commit is contained in:
1 parent
954b57f748
commit
bb588ca7e6
1 file changed
+6
@@ -28,9 +28,15 @@ void init_loadCustomEnv() {
|
||||
// Silent Caciocavallo NPE error in locating Android-only lib
|
||||
setenv("LD_LIBRARY_PATH", "", 1);
|
||||
|
||||
// Ignore mipmap for performance(?)
|
||||
setenv("LIBGL_MIPMAP", "3", 1);
|
||||
|
||||
// Disable overloaded functions hack for Minecraft 1.17+
|
||||
setenv("LIBGL_NOINTOVLHACK", "1", 1);
|
||||
|
||||
// Fix white color on banner and sheep, since GL4ES 1.1.5
|
||||
setenv("LIBGL_NORMALIZE", "1", 1);
|
||||
|
||||
// Override OpenGL version to 4.1 for Zink
|
||||
setenv("MESA_GL_VERSION_OVERRIDE", "4.1", 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user