Quit the app if vkQueueSubmit with fence fails
It prevents infinitive vkWaitForFences later
This commit is contained in:
parent
601511e7f4
commit
6c7e4f25ea
@ -1373,7 +1373,7 @@ bool GEVulkanDriver::endScene()
|
||||
m_vk->in_flight_fences[m_current_frame]);
|
||||
|
||||
if (result != VK_SUCCESS)
|
||||
return false;
|
||||
throw std::runtime_error("vkQueueSubmit failed");
|
||||
|
||||
VkSemaphore semaphores[] =
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user