mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-14 14:32:57 -04:00
backend/drm: read CURVE_1D_TYPE property enum values
This commit is contained in:
parent
83605d212d
commit
def08f373a
3 changed files with 19 additions and 0 deletions
|
|
@ -191,6 +191,12 @@ static bool init_color_pipeline(struct wlr_drm_backend *drm,
|
|||
}
|
||||
colorop->size = size;
|
||||
break;
|
||||
case DRM_COLOROP_1D_CURVE:
|
||||
if (!introspect_drm_prop_enum(drm->fd, colorop->props.curve_1d_type,
|
||||
&colorop->curve_1d_types)) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
id = (uint32_t)next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue