mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
vulkan/wsi/wayland: use DRM_FORMAT_INVALID
Instead of using the magic value 0, use the define. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14634>
This commit is contained in:
parent
fda2aecb8b
commit
5a82232e5c
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ wl_drm_format_for_vk_format(VkFormat vk_format, bool alpha)
|
|||
|
||||
default:
|
||||
assert(!"Unsupported Vulkan format");
|
||||
return 0;
|
||||
return DRM_FORMAT_INVALID;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue