Skip to content

Commit

Permalink
Enable LWJGL3 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Aug 15, 2020
1 parent d1625d3 commit f7ea549
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,11 @@ public void initEnvs() {
if (!System.getProperty("user.home", "/").equals(Tools.MAIN_PATH)) {
forceUserHome(Tools.MAIN_PATH);
}

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

System.setProperty("org.apache.logging.log4j.level", "INFO");
System.setProperty("org.apache.logging.log4j.simplelog.level", "INFO");

Expand Down

0 comments on commit f7ea549

Please sign in to comment.