diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java index 477ba3d7a1..0cd250934f 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java @@ -339,6 +339,7 @@ public static void launchJavaVM(final AppCompatActivity activity, final Runtime userArgs.add("-Xmx" + LauncherPreferences.PREF_RAM_ALLOCATION + "M"); } + if(LOCAL_RENDERER != null) userArgs.add("-Dorg.lwjgl.opengl.libname=" + graphicsLib); // Force LWJGL to use the Freetype library intended for it, instead of using the one // that we ship with Java (since it may be older than what's needed) userArgs.add("-Dorg.lwjgl.freetype.libname="+ NATIVE_LIB_DIR+"/libfreetype.so");