This commit is contained in:
Emmanuel Hansen 2023-07-11 17:24:48 +00:00
parent ce9c8526b7
commit 353c4958dd
14 changed files with 190 additions and 12 deletions

View file

@ -91,7 +91,7 @@ namespace LibRyujinx
}
else if (graphicsBackend == GraphicsBackend.Vulkan)
{
Renderer = new VulkanRenderer(Vk.GetApi(), (instance, vk) => new SurfaceKHR((ulong?)createSurfaceFunc(instance.Handle)),
Renderer = new VulkanRenderer(VulkanLoader?.GetApi() ?? Vk.GetApi(), (instance, vk) => new SurfaceKHR((ulong?)createSurfaceFunc(instance.Handle)),
() => requiredExtensions,
null);
}