Vulkan: Eliminate m_last_present_done flag.

This commit is contained in:
Jordan Woyak
2025-05-13 20:13:18 -05:00
parent 059282df6f
commit 1554e4ab6c
3 changed files with 1 additions and 18 deletions

View File

@ -440,7 +440,6 @@ void CommandBufferManager::SubmitCommandBuffer(u32 command_buffer_index,
nullptr};
m_last_present_result = vkQueuePresentKHR(g_vulkan_context->GetPresentQueue(), &present_info);
m_last_present_done.Set();
if (m_last_present_result != VK_SUCCESS)
{
// VK_ERROR_OUT_OF_DATE_KHR is not fatal, just means we need to recreate our swap chain.