Skip to content

Commit

Permalink
Set Gallium Threads to 0, to prevent crash
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 committed Sep 5, 2023
1 parent 6f2819d commit 6d7f3dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/main/java/pojlib/util/JREUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public static void setJavaEnvironment(Activity activity) throws Throwable {
envMap.put("MESA_GL_VERSION_OVERRIDE", "4.6");
envMap.put("MESA_GLSL_VERSION_OVERRIDE", "460");
envMap.put("MESA_LOADER_DRIVER_OVERRIDE", "zink");
envMap.put("GALLIUM_THREAD", "0");
envMap.put("POJAV_RENDERER", "vulkan_zink");

envMap.put("LD_LIBRARY_PATH", LD_LIBRARY_PATH);
Expand Down

0 comments on commit 6d7f3dd

Please sign in to comment.