mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Check return value of vkQueuePresentKHR properly
This commit is contained in:
@@ -2764,7 +2764,7 @@ void VulkanReplay::FlipOutputWindow(uint64_t id)
|
||||
&vkr
|
||||
};
|
||||
|
||||
vt->QueuePresentKHR(Unwrap(m_pDriver->GetQ()), &presentInfo);
|
||||
vkr = vt->QueuePresentKHR(Unwrap(m_pDriver->GetQ()), &presentInfo);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
|
||||
m_pDriver->FlushQ();
|
||||
|
||||
Reference in New Issue
Block a user