Update DefaultLauncher.java

This commit is contained in:
ShirosakiMio 2024-08-20 15:24:35 +08:00
parent 52b2b2cea8
commit c6c5a4ba5a
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ public class DefaultLauncher extends Launcher {
res.addDefault("-Dos.name=", "Linux");
res.addDefault("-Dos.version=Android-", Build.VERSION.RELEASE);
res.addDefault("-Dorg.lwjgl.opengl.libname=", "${gl_lib_name}");
res.addDefault("-Dorg.lwjgl.freetype.libname=", context.getApplicationInfo().nativeLibraryDir + "/libfreetype.so");
res.addDefault("-Dfml.earlyprogresswindow=", "false");
res.addDefault("-Dglfwstub.windowWidth=", options.getWidth() + "");
res.addDefault("-Dglfwstub.windowHeight=", options.getHeight() + "");