Vulkan DLL gets loaded when using OpenGL

Hi all,

I am testing my project with some older hardware and drivers. It seems like my executable loads vulkan-1.dll at start up or crashes when not available. A dependency walker does not show any imports from that DLL. Is this coming from GLFW, or something else completely?

GLFW only loads the Vulkan libraries on demand when Vulkan functions are called such as glfwVulkanSupported or glfwGetRequiredInstanceExtensions etc.

If you are able to put a breakpoint in the function _glfwInitVulkan in file vulcan.c then you can check if it’s called by GLFW.

1 Like