mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
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:
parent
2351c0aded
commit
448dd106da
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue