Skip to content

Commit

Permalink
Increment on all cases that aren't an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
goeiecool9999 committed Aug 14, 2024
1 parent 4e6589f commit be1dedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2781,7 +2781,7 @@ void VulkanRenderer::SwapBuffer(bool mainWindow)
if(result == VK_ERROR_OUT_OF_DATE_KHR || result == VK_SUBOPTIMAL_KHR)
chainInfo.m_shouldRecreate = true;

if(result == VK_SUCCESS)
if(result >= 0)
{
chainInfo.m_queueDepth++;
chainInfo.m_presentId++;
Expand Down

0 comments on commit be1dedd

Please sign in to comment.