A structure's sType was missed in the grand renaming that took place a while
ago, and was fixed with the latest WSI header changes.
}
const VkSwapchainCreateInfoKHR swap_chain = {
- .sType = VK_STRUCTURE_TYPE_SWAP_CHAIN_CREATE_INFO_KHR,
+ .sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,
.pNext = NULL,
.pSurfaceDescription = (const VkSurfaceDescriptionKHR *)&demo->surface_description,
.minImageCount = desiredNumberOfSwapchainImages,
}
const VkSwapchainCreateInfoKHR swap_chain = {
- .sType = VK_STRUCTURE_TYPE_SWAP_CHAIN_CREATE_INFO_KHR,
+ .sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,
.pNext = NULL,
.pSurfaceDescription = (const VkSurfaceDescriptionKHR *)&demo->surface_description,
.minImageCount = desiredNumberOfSwapchainImages,