Skip to content

Commit 33bd10b

Browse files
Vulkan: Use the correct resolution for out-of-date check (#595)
1 parent 1b660e0 commit 33bd10b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2636,9 +2636,9 @@ bool VulkanRenderer::UpdateSwapchainProperties(bool mainWindow)
26362636

26372637
int width, height;
26382638
if (mainWindow)
2639-
gui_getWindowSize(width, height);
2639+
gui_getWindowPhysSize(width, height);
26402640
else
2641-
gui_getPadWindowSize(width, height);
2641+
gui_getPadWindowPhysSize(width, height);
26422642
auto extent = chainInfo.getExtent();
26432643
if (width != extent.width || height != extent.height)
26442644
stateChanged = true;

0 commit comments

Comments
 (0)