File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ VkResult volkInitialize(void)
83
83
module = dlopen ("libvulkan.1.dylib" , RTLD_NOW | RTLD_LOCAL );
84
84
if (!module )
85
85
module = dlopen ("libMoltenVK.dylib" , RTLD_NOW | RTLD_LOCAL );
86
- // Add support for using Vulkan and MoltenVK in a Framework. App store rules for iOS
87
- // strictly enforce no .dylib's. If they aren't found it just falls through
88
- if (!module )
89
- module = dlopen ("vulkan.framework/vulkan" , RTLD_NOW | RTLD_LOCAL );
90
- if (!module )
91
- module = dlopen ("MoltenVK.framework/MoltenVK" , RTLD_NOW | RTLD_LOCAL );
86
+ // Add support for using Vulkan and MoltenVK in a Framework. App store rules for iOS
87
+ // strictly enforce no .dylib's. If they aren't found it just falls through
88
+ if (!module )
89
+ module = dlopen ("vulkan.framework/vulkan" , RTLD_NOW | RTLD_LOCAL );
90
+ if (!module )
91
+ module = dlopen ("MoltenVK.framework/MoltenVK" , RTLD_NOW | RTLD_LOCAL );
92
92
// modern versions of macOS don't search /usr/local/lib automatically contrary to what man dlopen says
93
93
// Vulkan SDK uses this as the system-wide installation location, so we're going to fallback to this if all else fails
94
94
if (!module && getenv ("DYLD_FALLBACK_LIBRARY_PATH" ) == NULL )
You can’t perform that action at this time.
0 commit comments