diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-16 19:34:02 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 16:09:26 +0100 |
commit | b54ef3372d5c6f01b97b26cf449617122a628e8a (patch) | |
tree | 89787948911f5876841d32e1ba559a36ad34107e /include/wlr/render/interface.h | |
parent | 00bf6674b35bc4f3a5adaceaebab33f734b2ecd9 (diff) |
render: use DRM formats in wlr_renderer_read_pixels
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 1e2271e4..bf2fea40 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -43,7 +43,7 @@ struct wlr_renderer_impl { const struct wlr_drm_format_set *(*get_dmabuf_render_formats)( struct wlr_renderer *renderer); uint32_t (*preferred_read_format)(struct wlr_renderer *renderer); - bool (*read_pixels)(struct wlr_renderer *renderer, enum wl_shm_format fmt, + bool (*read_pixels)(struct wlr_renderer *renderer, uint32_t fmt, uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height, uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, void *data); |