Фикс высоты изображения

This commit is contained in:
parent f7ff84fab0
commit 83ab14804f
1 changed files with 1 additions and 4 deletions

View File

@ -361,7 +361,7 @@ void Vulkan::createSwapchain(GLFWwindow* window)
, width , width
, surface.capabilities.maxImageExtent.width , surface.capabilities.maxImageExtent.width
); );
surface.selectedExtent.width = CLAMP( surface.capabilities.minImageExtent.height surface.selectedExtent.height = CLAMP( surface.capabilities.minImageExtent.height
, height , height
, surface.capabilities.maxImageExtent.height , surface.capabilities.maxImageExtent.height
); );
@ -373,7 +373,4 @@ void Vulkan::createSwapchain(GLFWwindow* window)
surface.imageCount %= surface.capabilities.maxImageCount; surface.imageCount %= surface.capabilities.maxImageCount;
//
} }