Skip to content

Commit 6be889e

Browse files
committed
fix(natives): Add missing spirv-cross natives
Used https://github.com/AngelAuraMC/SPIRV-Cross/actions/runs/24189750259
1 parent 6551f37 commit 6be889e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

30.4 MB
Binary file not shown.

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ public static void launchJavaVM(final AppCompatActivity activity, final Runtime
324324
// Force LWJGL to use the Freetype library intended for it, instead of using the one
325325
// that we ship with Java (since it may be older than what's needed)
326326
userArgs.add("-Dorg.lwjgl.freetype.libname="+ Tools.lwjglNativesDir +"/libfreetype.so");
327+
// Our spirv-cross is compiled shared, so it gets named shared.
328+
userArgs.add("-Dorg.lwjgl.spvc.libname=spirv-cross-c-shared");
327329

328330
// We don't have jemalloc for our LWJGL so set the allocator to system to avoid error logs
329331
userArgs.add("-Dorg.lwjgl.system.allocator=system");

0 commit comments

Comments
 (0)