meson.build: Fix -Dbackend-default=auto following fbdev deprecation
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
parent
351e6a4b21
commit
89587db3cb
@ -121,7 +121,7 @@ config_h.set10('TEST_GL_RENDERER', get_option('test-gl-renderer'))
|
||||
|
||||
backend_default = get_option('backend-default')
|
||||
if backend_default == 'auto'
|
||||
foreach b : [ 'headless', 'fbdev', 'x11', 'wayland', 'drm' ]
|
||||
foreach b : [ 'headless', 'x11', 'wayland', 'drm' ]
|
||||
if get_option('backend-' + b)
|
||||
backend_default = b
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user