1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 18:46:39 +00:00

Force Vulkan swapchain re-creation when window size changes (#7003)

This commit is contained in:
gdkchan 2024-07-07 19:02:11 -03:00 committed by GitHub
parent 1a0a351a15
commit c525d7d9a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)