mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Account for swapchain image count change after re-creation (#6652)
This commit is contained in:
1 parent
2ddd3dd4a7
commit
e916662b0f
1 file changed
+1
@@ -330,6 +330,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
_swapchainIsDirty)
|
_swapchainIsDirty)
|
||||||
{
|
{
|
||||||
RecreateSwapchain();
|
RecreateSwapchain();
|
||||||
|
semaphoreIndex = (_frameIndex - 1) % _imageAvailableSemaphores.Length;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user