Add support for mods that use Vulkan for rendering

Known mods: Blaze4D (untested), VulkanMod, more?
- VulkanMod: needs a tiny modification to get it work with LWJGL 3.2.3
This commit is contained in:
khanhduytran0 committed 2022-06-10 12:13:23 +07:00
1 parent e6d7373c03
commit 97433a5596
14 files changed
+321 -5

No files matched your search

@@ -53,6 +53,7 @@ public class PojavLauncher {
MCOptionUtils.save();
System.setProperty("org.lwjgl.opengl.libname", System.getenv("POJAV_RENDERER"));
System.setProperty("org.lwjgl.vulkan.libname", "libMoltenVK.dylib");
Tools.mGLFWWindowWidth = Integer.parseInt(size[0]);
Tools.mGLFWWindowHeight = Integer.parseInt(size[1]);