From 495a8921902e87468d510228e5046dea7a907370 Mon Sep 17 00:00:00 2001 From: David Fort Date: Wed, 30 Sep 2020 09:50:47 +0200 Subject: [PATCH] rdp-backend: unify creation of pixman_renderer_output As pointed by Daniel Stone in #372, creation of pixman renderer outputs in the rdp backend were inconsistant regarding use_shadow. --- libweston/backend-rdp/rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/backend-rdp/rdp.c b/libweston/backend-rdp/rdp.c index 9e414aa2..e5c04ea0 100644 --- a/libweston/backend-rdp/rdp.c +++ b/libweston/backend-rdp/rdp.c @@ -476,7 +476,7 @@ rdp_switch_mode(struct weston_output *output, struct weston_mode *target_mode) rdpSettings *settings; pixman_image_t *new_shadow_buffer; struct weston_mode *local_mode; - const struct pixman_renderer_output_options options = { }; + const struct pixman_renderer_output_options options = { .use_shadow = true, }; local_mode = ensure_matching_mode(output, target_mode); if (!local_mode) {