diff --git a/src/rendering/vulkan/system/vk_device.cpp b/src/rendering/vulkan/system/vk_device.cpp index 85f2ac8479..80898ad0a1 100644 --- a/src/rendering/vulkan/system/vk_device.cpp +++ b/src/rendering/vulkan/system/vk_device.cpp @@ -258,6 +258,8 @@ void VulkanDevice::createSurface() #ifdef _WIN32 VkWin32SurfaceCreateInfoKHR windowCreateInfo; windowCreateInfo.sType = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; + windowCreateInfo.pNext = nullptr; + windowCreateInfo.flags = 0; windowCreateInfo.hwnd = Window; windowCreateInfo.hinstance = GetModuleHandle(nullptr);