mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-02-16 17:22:43 +00:00
pixel_format: RGBA4444 and RGBA5551 have alpha components
This commit is contained in:
parent
f8ae564906
commit
9b091f528e
@ -66,7 +66,7 @@ static const struct wlr_pixel_format_info pixel_format_info[] = {
|
||||
.drm_format = DRM_FORMAT_RGBA4444,
|
||||
.opaque_substitute = DRM_FORMAT_RGBX4444,
|
||||
.bpp = 16,
|
||||
.has_alpha = false,
|
||||
.has_alpha = true,
|
||||
},
|
||||
{
|
||||
.drm_format = DRM_FORMAT_RGBX5551,
|
||||
@ -78,7 +78,7 @@ static const struct wlr_pixel_format_info pixel_format_info[] = {
|
||||
.drm_format = DRM_FORMAT_RGBA5551,
|
||||
.opaque_substitute = DRM_FORMAT_RGBX5551,
|
||||
.bpp = 16,
|
||||
.has_alpha = false,
|
||||
.has_alpha = true,
|
||||
},
|
||||
{
|
||||
.drm_format = DRM_FORMAT_RGB565,
|
||||
|
Loading…
Reference in New Issue
Block a user