mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01: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…
Reference in a new issue