Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e951d52 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

swapchain: add a case for minImageCount in capabilities

When creating a swapchain around a single-buffered SurfaceTexture, the
VkSurfaceCapabilitiesKHR structure obtained was giving a minImageCount
of 2 and a maxImageCount of 1, which should both be 1 in this case.

Test: create a swapchain around a single-buffered SurfaceTexture should
give back 1 as minImageCount from VkSurfaceCapabilitiesKHR
Bug: b/77825831

Change-Id: Ic42c29a93c6e9c818dbf735be5ce10b58cdb44d9
parent 0c7c5d6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment