frontend: make x11 backend honor the renderer option

If the --renderer option was given, do not let the x11 backend choose
the renderer on its own.

Fixes: 75b3ecfcc3 ("frontend: Add common --renderer=foo argument")
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
This commit is contained in:
Philipp Zabel 2023-01-29 13:39:30 +01:00 committed by Marius Vlad
parent a222ce03c7
commit 3560da1255

View File

@ -3379,7 +3379,7 @@ load_x11_backend(struct weston_compositor *c,
} else if (force_pixman) {
config.renderer = WESTON_RENDERER_PIXMAN;
} else {
config.renderer = WESTON_RENDERER_AUTO;
config.renderer = renderer;
}
wet_set_simple_head_configurator(c, x11_backend_output_configure);