Skip to content

Commit

Permalink
LWJGL3: Set some properties
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Aug 15, 2020
1 parent f7ea549 commit 52a0936
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/net/kdt/pojavlaunch/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@ public void initEnvs() {
if (!System.getProperty("user.home", "/").equals(Tools.MAIN_PATH)) {
forceUserHome(Tools.MAIN_PATH);
}

// FIXME: Is loading libc.so good?
System.setProperty("org.lwjgl.jemalloc.libname", "libc.so");
System.setProperty("org.lwjgl.opengl.libname", "libgl04es.so");

// Enable LWJGL3 debug
System.setProperty("org.lwjgl.util.Debug", "true");
Expand Down

0 comments on commit 52a0936

Please sign in to comment.