Skip to content

Commit

Permalink
Update from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Jul 17, 2024
2 parents e742edf + 9e77841 commit 7168b88
Show file tree
Hide file tree
Showing 33 changed files with 8 additions and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1716170694562
1720909595576
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ public static void launchJavaVM(final AppCompatActivity activity, final Runtime
purgeArg(userArgs, "-XX:+UseTransparentHugePages");
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
if (!isUsingCustomMem(userArgs))
Expand All @@ -333,7 +336,10 @@ 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");

userArgs.addAll(JVMArgs);

activity.runOnUiThread(() -> Toast.makeText(activity, activity.getString(R.string.autoram_info_msg,getAllocatedMemory(userArgs)), Toast.LENGTH_SHORT).show());
Expand Down
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/liblwjgl.so
100755 → 100644
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/liblwjgl_nanovg.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/liblwjgl_opengl.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/liblwjgl_stb.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/arm64-v8a/liblwjgl_tinyfd.so
Binary file not shown.
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/armeabi-v7a/liblwjgl.so
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/armeabi-v7a/liblwjgl_opengl.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/armeabi-v7a/liblwjgl_stb.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86/liblwjgl_nanovg.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86/liblwjgl_opengl.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86/liblwjgl_stb.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86/liblwjgl_tinyfd.so
Binary file not shown.
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86_64/liblwjgl.so
100755 → 100644
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86_64/liblwjgl_nanovg.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86_64/liblwjgl_opengl.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86_64/liblwjgl_stb.so
Binary file not shown.
Binary file modified app_pojavlauncher/src/main/jniLibs/x86_64/liblwjgl_tinyfd.so
Binary file not shown.
Binary file added jre_lwjgl3glfw/libs/lwjgl-freetype.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl-glfw.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl-lwjglx.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl-nanovg.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl-openal.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl-opengl.jar
Binary file not shown.
Binary file modified jre_lwjgl3glfw/libs/lwjgl.jar
Binary file not shown.

0 comments on commit 7168b88

Please sign in to comment.