From 7544b7abf9997ac9b53777afb4396f92ecc867ba Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 17 Aug 2021 09:34:49 +0200 Subject: backend/drm: use addon for wlr_drm_fb --- include/backend/drm/renderer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index f6b996c7..70a9533b 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -29,12 +29,11 @@ struct wlr_drm_surface { struct wlr_drm_fb { struct wlr_buffer *wlr_buf; + struct wlr_addon addon; struct wl_list link; // wlr_drm_backend.fbs struct gbm_bo *bo; uint32_t id; - - struct wl_listener wlr_buf_destroy; }; bool init_drm_renderer(struct wlr_drm_backend *drm, -- cgit v1.2.3