mirror of https://github.com/snes9xgit/snes9x.git
Vulkan: Add device wait back to swapchain recreation.
This commit is contained in:
parent
33e40a8f16
commit
5c78493f4e
|
@ -81,6 +81,7 @@ bool Swapchain::recreate(int new_width, int new_height)
|
||||||
{
|
{
|
||||||
if (swapchain_object)
|
if (swapchain_object)
|
||||||
{
|
{
|
||||||
|
device.waitIdle();
|
||||||
wait_on_frames();
|
wait_on_frames();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue