diff --git a/src/renderer_vk.cpp b/src/renderer_vk.cpp index a874d8876..e5e550aa0 100644 --- a/src/renderer_vk.cpp +++ b/src/renderer_vk.cpp @@ -3430,7 +3430,7 @@ VK_IMPORT_DEVICE if (m_needToRecreateSurface) { vkDestroySurfaceKHR(m_instance, m_surface, m_allocatorCb); - VkResult result = createSurface(); + VkResult result = createSurface(_resolution); if (VK_SUCCESS != result) {