diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-07-07 19:02:11 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-07 19:02:11 -0300 |
| commit | c525d7d9a9a29fcca33ac3e12cef3c6c7e94b158 (patch) | |
| tree | 0770d037dc844f07af207e58ebc32e3dcc212b07 /src/Ryujinx.Graphics.Vulkan | |
| parent | 1a0a351a152f837094699e78f51f8970e131bd1a (diff) | |
Force Vulkan swapchain re-creation when window size changes (#7003)
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan')
| -rw-r--r-- | src/Ryujinx.Graphics.Vulkan/Window.cs | 3 |
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) |
