From 83ab14804fff2060942ae3fb9c1944f29713448b Mon Sep 17 00:00:00 2001 From: "re.kovalev" Date: Thu, 17 Feb 2022 11:13:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B2=D1=8B=D1=81?= =?UTF-8?q?=D0=BE=D1=82=D1=8B=20=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vk.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vk.cpp b/src/vk.cpp index 85b1d51..857d255 100644 --- a/src/vk.cpp +++ b/src/vk.cpp @@ -361,7 +361,7 @@ void Vulkan::createSwapchain(GLFWwindow* window) , width , surface.capabilities.maxImageExtent.width ); - surface.selectedExtent.width = CLAMP( surface.capabilities.minImageExtent.height + surface.selectedExtent.height = CLAMP( surface.capabilities.minImageExtent.height , height , surface.capabilities.maxImageExtent.height ); @@ -373,7 +373,4 @@ void Vulkan::createSwapchain(GLFWwindow* window) surface.imageCount %= surface.capabilities.maxImageCount; - - - // }