backend-x11: Prepare for more renderers, reject no-op
Turn the Pixman/GL if/else conditionals into switch cases to make it
easier to add support for others renderer in the future.
Also makes sure that weston --backend=x11 --renderer=noop fails
with an error message instead of starting with the GL renderer.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
parent
c61719e9
Loading
Loading
Pipeline
#923266
passed
with stages
in
3 minutes and 23 seconds
Loading
Please register or sign in to comment