From 38a559ea89c33a59a6e380bcad4c169771d31aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Thu, 4 Mar 2021 10:01:42 -0800 Subject: [PATCH] Fixed build. --- src/renderer_vk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {