Account for swapchain image count change after re-creation

This commit is contained in:
Gabriel A 2024-04-11 02:26:10 -03:00
parent a8f7ababb5
commit f8564548f8

View file

@ -330,6 +330,7 @@ namespace Ryujinx.Graphics.Vulkan
_swapchainIsDirty)
{
RecreateSwapchain();
semaphoreIndex = (_frameIndex - 1) % _imageAvailableSemaphores.Length;
}
else
{