From 33bd10b4e0b9c27881fa7d6bf38908791f84d3b2 Mon Sep 17 00:00:00 2001 From: goeiecool9999 <7033575+goeiecool9999@users.noreply.github.com> Date: Thu, 29 Dec 2022 00:19:05 +0100 Subject: [PATCH] Vulkan: Use the correct resolution for out-of-date check (#595) --- src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp index f3793ed7..0f8559e1 100644 --- a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp +++ b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp @@ -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;