mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-03 07:17:06 -04:00
make comment a single line and fix typo
This commit is contained in:
parent
5971a0425a
commit
200f864088
1 changed files with 1 additions and 2 deletions
|
|
@ -110,8 +110,7 @@ static bool add_plane(struct wlr_drm_backend *drm,
|
||||||
uint32_t fmt = drm_plane->formats[j];
|
uint32_t fmt = drm_plane->formats[j];
|
||||||
|
|
||||||
if (fmt == DRM_FORMAT_ARGB2101010) {
|
if (fmt == DRM_FORMAT_ARGB2101010) {
|
||||||
// Prefer formats with 10 bit color
|
// Prefer formats with 10 bit color and/or alpha channel.
|
||||||
// and/or alhpa channel.
|
|
||||||
rgb_format = fmt;
|
rgb_format = fmt;
|
||||||
break;
|
break;
|
||||||
} else if (fmt == DRM_FORMAT_XRGB2101010) {
|
} else if (fmt == DRM_FORMAT_XRGB2101010) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue