Skip to content

Commit

Permalink
[fix/parity] specify opengl libname
Browse files Browse the repository at this point in the history
lost in updating from upstream
  • Loading branch information
SolDev69 committed Jul 31, 2024
1 parent bbd8df1 commit de7e946
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit de7e946

Please sign in to comment.