GNU Make 4.1
I started a vulkan project and I use glfw for window / surface stuff. everything works great so far but when I try to create a surface via glfwCreateWindowSurface() I recieve the following error:
“Vulkan: Window surface creation extensions not found”
glfwGetRequiredInstanceExtensions() returns NULL, and number of extensions is 0. So I know thats the exact error.
this is the window creation code:
this is the vk instance creation code:
this is the surface creation call:
All 3 functions are called in the order I mentioned them. So the strange thing is:
- glfwVulkanSupported() returns true!
- vkEnumerateInstanceExtensionProperties() gives an output of:
So the extension I need is there (VK_KHR_surface)! I read the glfw reference of glfwGetRequiredInstanceExtensions() and it doesn’t offer any help really, 'cause everything that could fail, works… the only thing mentioned on the reference page is:
If Vulkan is available but no set of extensions allowing window surface creation was found, this function returns NULL. You may still use Vulkan for off-screen rendering and compute work.
… okay… but I do want to render on-screen
So any help or guesses?