Account for swapchain image count change after re-creation (#6652)

This commit is contained in:
gdkchan 2024-04-11 17:24:19 -03:00 committed by GitHub
parent 2ddd3dd4a7
commit e916662b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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