aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/atomic.c')
-rw-r--r--backend/drm/atomic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c
index c9fb1f45..8ce1e1e6 100644
--- a/backend/drm/atomic.c
+++ b/backend/drm/atomic.c
@@ -172,7 +172,8 @@ static bool atomic_crtc_set_cursor(struct wlr_drm_backend *drm,
atomic_begin(crtc, &atom);
if (bo) {
- uint32_t fb_id = get_fb_for_bo(bo, plane->drm_format);
+ uint32_t fb_id =
+ get_fb_for_bo(bo, plane->drm_format, drm->addfb2_modifiers);
set_plane_props(&atom, plane, crtc->id, fb_id, false);
} else {
atomic_add(&atom, plane->id, plane->props.fb_id, 0);