mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 18:45:46 +00:00
Force Vulkan swapchain re-creation when window size changes (#7003)
This commit is contained in:
parent
1a0a351a15
commit
c525d7d9a9
1 changed files with 2 additions and 1 deletions
|
@ -623,7 +623,8 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
|
|
||||||
public override void SetSize(int width, int height)
|
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)
|
public override void ChangeVSyncMode(bool vsyncEnabled)
|
||||||
|
|
Loading…
Reference in a new issue