mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
export-dmabuf: correctly send the number of planes per layer
This commit is contained in:
parent
3f9796112e
commit
2432c41a49
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ static void manager_handle_capture_output(struct wl_client *client,
|
||||||
attribs->flags, frame_flags, mod_high, mod_low, attribs->n_planes, 1);
|
attribs->flags, frame_flags, mod_high, mod_low, attribs->n_planes, 1);
|
||||||
|
|
||||||
zwlr_export_dmabuf_frame_v1_send_layer(frame->resource, 0,
|
zwlr_export_dmabuf_frame_v1_send_layer(frame->resource, 0,
|
||||||
attribs->format, 1);
|
attribs->format, attribs->n_planes);
|
||||||
|
|
||||||
for (int i = 0; i < attribs->n_planes; ++i) {
|
for (int i = 0; i < attribs->n_planes; ++i) {
|
||||||
// TODO: what to do if the kernel doesn't support seek on buffer
|
// TODO: what to do if the kernel doesn't support seek on buffer
|
||||||
|
|
Loading…
Reference in a new issue