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; - - - // }