Vulkan: Fix waiting on non-existant fence when reading back

This commit is contained in:
Stenzek
2018-01-12 13:17:22 +10:00
parent 28176d0117
commit 47f453d7aa
2 changed files with 1 additions and 3 deletions

View File

@ -497,6 +497,7 @@ void VKStagingTexture::Flush()
{
// WaitForFence should fire the callback.
g_command_buffer_mgr->WaitForFence(m_flush_fence);
m_flush_fence = VK_NULL_HANDLE;
}
else
{