mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
meson: drop deprecated EGL platform build options
These two options were deprecated and announced to be removed in 20.3, so let's drop them now. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Cc: 20.3 <mesa-stable> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5844>
This commit is contained in:
parent
4da8323a14
commit
f8dc22bf61
@ -355,14 +355,6 @@ with_platform_wayland = _platforms.contains('wayland')
|
||||
with_platform_haiku = _platforms.contains('haiku')
|
||||
with_platform_windows = _platforms.contains('windows')
|
||||
|
||||
if _platforms.contains('surfaceless')
|
||||
warning('Platform `surfaceless` is now always selected; setting this option will be an error in Mesa 20.3')
|
||||
endif
|
||||
|
||||
if _platforms.contains('drm')
|
||||
warning('Platform `drm` is now automatically selected; setting this option will be an error in Mesa 20.3')
|
||||
endif
|
||||
|
||||
if _platforms.length() != 0
|
||||
egl_native_platform = _platforms[0]
|
||||
else
|
||||
|
@ -23,8 +23,7 @@ option(
|
||||
type : 'array',
|
||||
value : ['auto'],
|
||||
choices : [
|
||||
'auto', 'x11', 'wayland', 'drm', 'surfaceless', 'haiku', 'android',
|
||||
'windows',
|
||||
'auto', 'x11', 'wayland', 'haiku', 'android', 'windows',
|
||||
],
|
||||
description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user