mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-02 03:55:08 +00:00
Make sure to unwrap oldSwapchain in vkCreateSwapchainKHR (Refs #178)
This commit is contained in:
1 parent
1be73d0ff7
commit
0e76c57540
1 file changed
+1
@@ -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