mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Make sure to unwrap oldSwapchain in vkCreateSwapchainKHR (Refs #178)
This commit is contained in:
@@ -296,6 +296,7 @@ VkResult WrappedVulkan::vkCreateSwapchainKHR(
|
||||
// make sure we can readback to get the screenshot
|
||||
createInfo.imageUsage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT;
|
||||
createInfo.surface = Unwrap(createInfo.surface);
|
||||
createInfo.oldSwapchain = Unwrap(createInfo.oldSwapchain);
|
||||
|
||||
VkResult ret = ObjDisp(device)->CreateSwapchainKHR(Unwrap(device), &createInfo, pAllocator, pSwapChain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user