Mesa (main): meson: drop impossible `if no platform` branch
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 8 19:01:09 UTC 2021
Module: Mesa
Branch: main
Commit: 448dd106da2e4751d88131e58e097ef06638154c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=448dd106da2e4751d88131e58e097ef06638154c
Author: Eric Engestrom <eric at engestrom.ch>
Date: Sat Oct 9 11:31:24 2021 +0100
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 at engestrom.ch>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278>
---
meson.build | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 59cee728070..4fb4cfc5555 100644
--- a/meson.build
+++ b/meson.build
@@ -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
More information about the mesa-commit
mailing list