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:
parent
e07be58dc4
commit
2a6c1afced
@ -786,6 +786,7 @@ wayland_output_init_pixman_renderer(struct wayland_output *output)
|
||||
.width = output->base.current_mode->width,
|
||||
.height = output->base.current_mode->height
|
||||
},
|
||||
.format = pixel_format_get_info_by_pixman(PIXMAN_a8r8g8b8)
|
||||
};
|
||||
return renderer->pixman->output_create(&output->base, &options);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user