diff options
author | emersion <contact@emersion.fr> | 2018-06-23 14:02:43 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-30 22:18:03 +0100 |
commit | 2b9cbaddf3d285ce439bd5da9f19995a0ddbac3a (patch) | |
tree | 19ef4f0d3f1acf4f863e311e561dad3de0520195 /backend/drm | |
parent | bd8be19b792797925f5cca14049a5ab2d0f6d06c (diff) |
screencopy: add support for frame flags
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index f4a971a2..ae462568 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -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); |