vk: Fix frame skipping

This commit is contained in:
kd-11 2019-07-05 18:26:17 +03:00 committed by kd-11
parent b9130dd663
commit c47f4fd59e

View file

@ -3167,9 +3167,6 @@ void VKGSRender::flip(int buffer, bool emu_flip)
if (skip_frame || swapchain_unavailable)
{
m_frame->flip(m_context);
rsx::thread::flip(buffer, emu_flip);
if (!skip_frame)
{
verify(HERE), swapchain_unavailable;
@ -3186,6 +3183,8 @@ void VKGSRender::flip(int buffer, bool emu_flip)
m_textures_upload_time = 0;
}
m_frame->flip(m_context);
rsx::thread::flip(buffer, emu_flip);
return;
}