aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-22 17:44:22 +0100
committerSimon Ser <contact@emersion.fr>2021-01-10 11:24:35 +0100
commitcd64610c6677f2e1e90a9aadbef9107e585fc6fc (patch)
treedc81546f7edea1712cc2d5e275ea25ac09207862 /include/backend
parent5b1b43c68c7ae65c64a0fcb2c15bf403e5a2fa07 (diff)
backend/drm: introduce drm_fb_create
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/renderer.h2
1 files changed, 1 insertions, 1 deletions
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);