mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-10 03:37:32 -03:00
Vulkan: Use the correct resolution for out-of-date check (#595)
This commit is contained in:
parent
1b660e0c16
commit
33bd10b4e0
1 changed files with 2 additions and 2 deletions
|
@ -2636,9 +2636,9 @@ bool VulkanRenderer::UpdateSwapchainProperties(bool mainWindow)
|
|||
|
||||
int width, height;
|
||||
if (mainWindow)
|
||||
gui_getWindowSize(width, height);
|
||||
gui_getWindowPhysSize(width, height);
|
||||
else
|
||||
gui_getPadWindowSize(width, height);
|
||||
gui_getPadWindowPhysSize(width, height);
|
||||
auto extent = chainInfo.getExtent();
|
||||
if (width != extent.width || height != extent.height)
|
||||
stateChanged = true;
|
||||
|
|
Loading…
Reference in a new issue