Skip to content

Commit

Permalink
Fix[jreutils]: Purge freetype arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Jul 16, 2024
1 parent d8f0c27 commit 9e77841
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ public static void launchJavaVM(final AppCompatActivity activity, final Runtime
purgeArg(userArgs, "-XX:+UseLargePagesInMetaspace");
purgeArg(userArgs, "-XX:+UseLargePages");
purgeArg(userArgs, "-Dorg.lwjgl.opengl.libname");
// Don't let the user specify a custom Freetype library (as the user is unlikely to specify a version compiled for Android)
purgeArg(userArgs, "-Dorg.lwjgl.freetype.libname");

//Add automatically generated args
userArgs.add("-Xms" + LauncherPreferences.PREF_RAM_ALLOCATION + "M");
Expand Down

0 comments on commit 9e77841

Please sign in to comment.