mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
screencopy: add support for frame flags
This commit is contained in:
parent
bd8be19b79
commit
2b9cbaddf3
9 changed files with 77 additions and 32 deletions
|
|
@ -683,7 +683,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
|
|||
wlr_render_texture_with_matrix(rend, texture, matrix, 1.0);
|
||||
wlr_renderer_end(rend);
|
||||
|
||||
wlr_renderer_read_pixels(rend, WL_SHM_FORMAT_ARGB8888, bo_stride,
|
||||
wlr_renderer_read_pixels(rend, WL_SHM_FORMAT_ARGB8888, NULL, bo_stride,
|
||||
plane->surf.width, plane->surf.height, 0, 0, 0, 0, bo_data);
|
||||
|
||||
swap_drm_surface_buffers(&plane->surf, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue