backend-wayland: fix pixman output state creation

Pixman output state creation requires a valid pixel format to be set for
weston_output_update_capture_info().

Fixes: c67773bc5c ("pixman-renderer: use pixel_format_info instead of pixman_format_code_t")
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
This commit is contained in:
Philipp Zabel 2023-01-29 13:36:26 +01:00 committed by Marius Vlad
parent e07be58dc4
commit 2a6c1afced
1 changed files with 1 additions and 0 deletions

View File

@ -786,6 +786,7 @@ wayland_output_init_pixman_renderer(struct wayland_output *output)
.width = output->base.current_mode->width, .width = output->base.current_mode->width,
.height = output->base.current_mode->height .height = output->base.current_mode->height
}, },
.format = pixel_format_get_info_by_pixman(PIXMAN_a8r8g8b8)
}; };
return renderer->pixman->output_create(&output->base, &options); return renderer->pixman->output_create(&output->base, &options);
} }