Skip to content

Commit 4c99eb1

Browse files
authored
Merge pull request #226 from dcvz/patch-1
chore: fix indentations
2 parents bdf0134 + b223d48 commit 4c99eb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

volk.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ VkResult volkInitialize(void)
8383
module = dlopen("libvulkan.1.dylib", RTLD_NOW | RTLD_LOCAL);
8484
if (!module)
8585
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);
9292
// modern versions of macOS don't search /usr/local/lib automatically contrary to what man dlopen says
9393
// Vulkan SDK uses this as the system-wide installation location, so we're going to fallback to this if all else fails
9494
if (!module && getenv("DYLD_FALLBACK_LIBRARY_PATH") == NULL)

0 commit comments

Comments
 (0)