Фикс высоты изображения
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user