From b96455b8459bd32580d2fe64e2579726a7003d7f Mon Sep 17 00:00:00 2001 From: Fufu Fang Date: Fri, 22 Oct 2021 09:55:13 +0100 Subject: [PATCH] Remove the TODO on the max Wayland image size. It is valid to create windows exceeding the display size. It is correct to set the image size limits to the GPU limits. Change-Id: I53d0865ad1a540cd2eb92137ef325f000bd76159 Signed-off-by: Fufu Fang --- wsi/wayland/surface_properties.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/wsi/wayland/surface_properties.cpp b/wsi/wayland/surface_properties.cpp index 57744a7..41f237e 100644 --- a/wsi/wayland/surface_properties.cpp +++ b/wsi/wayland/surface_properties.cpp @@ -76,7 +76,6 @@ VkResult surface_properties::get_surface_capabilities(VkPhysicalDevice physical_ pSurfaceCapabilities->currentExtent = { 0xffffffff, 0xffffffff }; pSurfaceCapabilities->minImageExtent = { 1, 1 }; - /* TODO: Ask the device for max - for now setting the max from the GPU, may be ask the display somehow*/ VkPhysicalDeviceProperties dev_props; layer::instance_private_data::get(physical_device).disp.GetPhysicalDeviceProperties(physical_device, &dev_props); -- 2.7.4