aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-17 09:34:49 +0200
committerKenny Levinsen <kl@kl.wtf>2021-08-17 11:08:45 +0200
commit7544b7abf9997ac9b53777afb4396f92ecc867ba (patch)
tree3b4592d9112e9e354a9cb67a59d52c79b35e5247 /include/backend
parentcae7b981369a7670a0fc15bfdd2c65592e199ad8 (diff)
backend/drm: use addon for wlr_drm_fb
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/renderer.h3
1 files changed, 1 insertions, 2 deletions
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,