You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.md the tutorial mentions adding/updating some includes:
"To access native platform functions, you need to update the includes at the top:
#define VK_USE_PLATFORM_WIN32_KHR
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>
"
I found that with these includes I wasn't able to use VkWin32SurfaceCreateInfoKHR object.
I added #include <vulkan/vulkan_win32.h> and it works now! Not sure if this is relevant, maybe it was just some issue with my setup. Thanks!