Merge pull request #9031 from stoofin/libvulkan1

Fall back to libvulkan.so.1 if libvulkan.so isn't present
This commit is contained in:
Twinaphex 2019-06-29 14:39:04 +02:00 committed by GitHub
commit dac33fca83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}