mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
pixel_format: RGBA4444 and RGBA5551 have alpha components
This commit is contained in:
parent
f8ae564906
commit
9b091f528e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue