backend/drm: assign plane_id from function parameter instead of drm_plane

This commit is contained in:
YaoBing Xiao 2025-04-30 17:10:45 +08:00
parent 156d47c866
commit 22db307e4c

View file

@ -170,7 +170,7 @@ static bool init_plane(struct wlr_drm_backend *drm,
}
p->type = type;
p->id = drm_plane->plane_id;
p->id = id;
p->props = props;
p->initial_crtc_id = drm_plane->crtc_id;