aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/win_vulkan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win_vulkan.c b/src/win_vulkan.c
index 4a4d005..a5fd1b3 100644
--- a/src/win_vulkan.c
+++ b/src/win_vulkan.c
@@ -30,9 +30,9 @@ puglNewVulkanLoader(PuglWorld* PUGL_UNUSED(world),
return NULL;
}
- const DWORD flags = LOAD_LIBRARY_SEARCH_DEFAULT_DIRS;
const char* const filename = libraryName ? libraryName : "vulkan-1.dll";
- if (!(loader->libvulkan = LoadLibraryEx(filename, NULL, flags))) {
+ if (!(loader->libvulkan =
+ LoadLibraryEx(filename, NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS))) {
free(loader);
return NULL;
}