From b54ef3372d5c6f01b97b26cf449617122a628e8a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 16 Feb 2021 19:34:02 +0100 Subject: render: use DRM formats in wlr_renderer_read_pixels --- render/wlr_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/wlr_renderer.c') diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index cc97c20d..7e62cad1 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -189,7 +189,7 @@ const struct wlr_drm_format_set *wlr_renderer_get_dmabuf_render_formats( return r->impl->get_dmabuf_render_formats(r); } -bool wlr_renderer_read_pixels(struct wlr_renderer *r, enum wl_shm_format fmt, +bool wlr_renderer_read_pixels(struct wlr_renderer *r, 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) { -- cgit v1.2.3