aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Ryujinx.Graphics.Vulkan/Window.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/Window.cs b/src/Ryujinx.Graphics.Vulkan/Window.cs
index a4ac9e9f..efb0b31f 100644
--- a/src/Ryujinx.Graphics.Vulkan/Window.cs
+++ b/src/Ryujinx.Graphics.Vulkan/Window.cs
@@ -623,7 +623,8 @@ namespace Ryujinx.Graphics.Vulkan
public override void SetSize(int width, int height)
{
- // Not needed as we can get the size from the surface.
+ // We don't need to use width and height as we can get the size from the surface.
+ _swapchainIsDirty = true;
}
public override void ChangeVSyncMode(bool vsyncEnabled)