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 /backend | |
parent | 00bf6674b35bc4f3a5adaceaebab33f734b2ecd9 (diff) |
render: use DRM formats in wlr_renderer_read_pixels
Diffstat (limited to 'backend')
-rw-r--r-- | backend/x11/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c index ea60d80b..788be957 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -427,7 +427,7 @@ static bool output_cursor_to_picture(struct wlr_x11_output *output, wlr_renderer_end(x11->renderer); bool result = wlr_renderer_read_pixels( - x11->renderer, WL_SHM_FORMAT_ARGB8888, NULL, + x11->renderer, DRM_FORMAT_ARGB8888, NULL, width * 4, width, height, 0, 0, 0, 0, data); |