mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 17:38:25 +02:00
vulkan/wsi/win32: Prefer the more popular surface format on Windows
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15148 Signed-off-by: ZhengMing <zhengming@sanway.tech> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41777>
This commit is contained in:
parent
14be25c5fa
commit
f0a6360e05
1 changed files with 2 additions and 1 deletions
|
|
@ -304,8 +304,9 @@ wsi_win32_surface_get_capabilities2(VkIcdSurfaceBase *surface,
|
|||
static const struct {
|
||||
VkFormat format;
|
||||
} available_surface_formats[] = {
|
||||
{ VK_FORMAT_B8G8R8A8_SRGB },
|
||||
{ VK_FORMAT_B8G8R8A8_UNORM },
|
||||
{ VK_FORMAT_R8G8B8A8_UNORM },
|
||||
{ VK_FORMAT_B8G8R8A8_SRGB },
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue