diff options
| -rw-r--r-- | demos/cube.c | 2 | ||||
| -rw-r--r-- | demos/tri.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/cube.c b/demos/cube.c index 6507438a..9fc554fb 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -727,7 +727,7 @@ static void demo_prepare_buffers(struct demo *demo) } 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, diff --git a/demos/tri.c b/demos/tri.c index 69f3d64c..3d0365ba 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -540,7 +540,7 @@ static void demo_prepare_buffers(struct demo *demo) } 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, |
