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.
This commit is contained in:
@@ -476,7 +476,7 @@ rdp_switch_mode(struct weston_output *output, struct weston_mode *target_mode)
|
|||||||
rdpSettings *settings;
|
rdpSettings *settings;
|
||||||
pixman_image_t *new_shadow_buffer;
|
pixman_image_t *new_shadow_buffer;
|
||||||
struct weston_mode *local_mode;
|
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);
|
local_mode = ensure_matching_mode(output, target_mode);
|
||||||
if (!local_mode) {
|
if (!local_mode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user