mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 18:25:46 +00:00
Account for swapchain image count change after re-creation (#6652)
This commit is contained in:
parent
2ddd3dd4a7
commit
e916662b0f
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
_swapchainIsDirty)
|
_swapchainIsDirty)
|
||||||
{
|
{
|
||||||
RecreateSwapchain();
|
RecreateSwapchain();
|
||||||
|
semaphoreIndex = (_frameIndex - 1) % _imageAvailableSemaphores.Length;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue