Check return value of vkQueuePresentKHR properly

This commit is contained in:
baldurk
2016-04-21 12:45:49 +02:00
parent fa41ac7845
commit edf72e3fa1
+1 -1
View File
@@ -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();