Set some Regal environment variables

This commit is contained in:
khanhduytran0 2020-09-12 20:59:41 +07:00
parent b78d05f664
commit 04cf84dd64

View File

@ -48,7 +48,12 @@ public class JREUtils
setEnvironment("MESA_GLSL_CACHE_DIR", ctx.getCacheDir().getAbsolutePath());
setEnvironment("LD_LIBRARY_PATH", ldLibraryPath);
setEnvironment("PATH", Tools.homeJreDir + "/bin:" + Os.getenv("PATH"));
setEnvironment("REGAL_GL_VENDOR", "Android");
setEnvironment("REGAL_GL_RENDERER", "Regal");
setEnvironment("REGAL_GL_VERSION", "4.5");
// REGAL_GL_EXTENSIONS
setLdLibraryPath(ldLibraryPath);
// return ldLibraryPath;