diff options
| author | Ian Elliott <ian@lunarg.com> | 2015-09-22 10:20:23 -0600 |
|---|---|---|
| committer | Ian Elliott <ian@lunarg.com> | 2015-09-22 10:25:53 -0600 |
| commit | 5b97eaeec8b04d64a510f2e095c3f49dc41cff0b (patch) | |
| tree | c3f082de7e314012ecbf6d3cd9c65da6691389d3 | |
| parent | e0f8b1771e8ad3c57ad4cf61dbacc161dc2e3400 (diff) | |
| download | usermoji-5b97eaeec8b04d64a510f2e095c3f49dc41cff0b.tar.xz | |
WSI: Small code changes to deal with latest WSI header.
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.
| -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, |
