mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #9031 from stoofin/libvulkan1
Fall back to libvulkan.so.1 if libvulkan.so isn't present
This commit is contained in:
commit
dac33fca83
@ -2000,6 +2000,10 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
|
||||
vulkan_library = dylib_load("libMoltenVK.dylib");
|
||||
#else
|
||||
vulkan_library = dylib_load("libvulkan.so");
|
||||
if (!vulkan_library)
|
||||
{
|
||||
vulkan_library = dylib_load("libvulkan.so.1");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user