mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-09-29 07:21:20 +00:00
vk: Fixup for VK_ERROR_SUBOPTIMAL_KHR
- break from a switch does not break out of the external scope!
This commit is contained in:
parent
792c481f6d
commit
efc8c3f4a9
@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "VKGSRender.h"
|
||||
|
||||
|
||||
@ -480,6 +480,12 @@ void VKGSRender::flip(const rsx::display_flip_info_t& info)
|
||||
default:
|
||||
vk::die_with_error(HERE, status);
|
||||
}
|
||||
|
||||
if (should_reinitialize_swapchain)
|
||||
{
|
||||
// Image is valid, new swapchain will be generated later
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Confirm that the driver did not silently fail
|
||||
|
Loading…
Reference in New Issue
Block a user