Load libMoltenVK.dylib instead

This commit is contained in:
GameParrot 2022-07-08 22:03:15 -04:00 committed by GitHub
parent 3cbaf61936
commit 4512d49486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,7 +465,7 @@ void* _glfwLoadLocalVulkanLoaderCocoa(void)
return NULL;
CFURLRef loaderUrl = CFURLCreateCopyAppendingPathComponent(
kCFAllocatorDefault, frameworksUrl, CFSTR("libvulkan.1.dylib"), false);
kCFAllocatorDefault, frameworksUrl, CFSTR("libMoltenVK.dylib"), false);
if (!loaderUrl)
{
CFRelease(frameworksUrl);