mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 17:19:18 +01:00
Vulkan: Use the correct resolution for out-of-date check (#595)
This commit is contained in:
parent
1b660e0c16
commit
33bd10b4e0
@ -2636,9 +2636,9 @@ bool VulkanRenderer::UpdateSwapchainProperties(bool mainWindow)
|
|||||||
|
|
||||||
int width, height;
|
int width, height;
|
||||||
if (mainWindow)
|
if (mainWindow)
|
||||||
gui_getWindowSize(width, height);
|
gui_getWindowPhysSize(width, height);
|
||||||
else
|
else
|
||||||
gui_getPadWindowSize(width, height);
|
gui_getPadWindowPhysSize(width, height);
|
||||||
auto extent = chainInfo.getExtent();
|
auto extent = chainInfo.getExtent();
|
||||||
if (width != extent.width || height != extent.height)
|
if (width != extent.width || height != extent.height)
|
||||||
stateChanged = true;
|
stateChanged = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user