mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
backend/drm: Add pixel blend mode properties
This commit is contained in:
parent
413664e0b0
commit
b09160aa3e
6 changed files with 22 additions and 1 deletions
|
|
@ -196,6 +196,7 @@ static struct wlr_drm_fb *drm_fb_create(struct wlr_drm_backend *drm,
|
|||
|
||||
fb->backend = drm;
|
||||
fb->wlr_buf = buf;
|
||||
fb->has_alpha = pixel_format_has_alpha(attribs.format);
|
||||
|
||||
wlr_addon_init(&fb->addon, &buf->addons, drm, &fb_addon_impl);
|
||||
wl_list_insert(&drm->fbs, &fb->link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue