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

backend-wayland: 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 other renderers in the future.

Also makes sure that weston --backend=wayland --renderer=noop fails
with an error message instead of segfaulting.

Signed-off-by: Philipp Zabel's avatarPhilipp Zabel <philipp.zabel@gmail.com>
parent ce113969
Loading
Loading
Loading
Pipeline #923555 passed with stages
in 2 minutes and 50 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