mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-15 22:05:31 -05:00
add back in 10 DRM format to renderer.c
This commit is contained in:
parent
aed3c173fc
commit
b4998d9c65
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ static uint32_t strip_alpha_channel(uint32_t format) {
|
|||
switch (format) {
|
||||
case DRM_FORMAT_ARGB8888:
|
||||
return DRM_FORMAT_XRGB8888;
|
||||
case DRM_FORMAT_ARGB2101010:
|
||||
return DRM_FORMAT_XRGB2101010;
|
||||
default:
|
||||
return DRM_FORMAT_INVALID;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue