mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-05 08:48:03 +02:00
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 <fufu.fang@arm.com>
This commit is contained in:
parent
00338d89f5
commit
b96455b845
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue