meson: drop impossible if no platform
branch
We've already ensured a few lines above that there is at least `surfaceless` in the list. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278>
This commit is contained in:

committed by
Marge Bot

parent
2351c0aded
commit
448dd106da
@@ -487,11 +487,7 @@ if with_egl
|
||||
|
||||
egl_native_platform = get_option('egl-native-platform')
|
||||
if egl_native_platform.contains('auto')
|
||||
if _platforms.length() != 0
|
||||
egl_native_platform = _platforms[0]
|
||||
else
|
||||
egl_native_platform = 'surfaceless'
|
||||
endif
|
||||
egl_native_platform = _platforms[0]
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user