Skip to content
Commit d46b491c authored by Philipp Zabel's avatar Philipp Zabel Committed by Daniel Stone
Browse files

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent c61719e9
Loading
Loading
Loading
Pipeline #923266 passed with stages
in 3 minutes and 23 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment