From cd64610c6677f2e1e90a9aadbef9107e585fc6fc Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 22 Dec 2020 17:44:22 +0100 Subject: backend/drm: introduce drm_fb_create --- include/backend/drm/renderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 71d278ee..bfae2c77 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -49,7 +49,7 @@ bool drm_fb_lock_surface(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm, struct wlr_drm_surface *surf, struct wlr_drm_surface *mgpu); bool drm_fb_import(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm, struct wlr_buffer *buf, struct wlr_drm_surface *mgpu, - struct wlr_drm_format_set *set); + const struct wlr_drm_format_set *formats); void drm_fb_clear(struct wlr_drm_fb **fb); void drm_fb_move(struct wlr_drm_fb **new, struct wlr_drm_fb **old); -- cgit v1.2.3