mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render: use DRM formats in wlr_renderer_read_pixels
This commit is contained in:
parent
00bf6674b3
commit
b54ef3372d
6 changed files with 9 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue