meson: use a feature option for gles2

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
This commit is contained in:
Dylan Baker
2022-12-20 15:19:00 -08:00
committed by Marge Bot
parent ca615a4f16
commit 6b334a8416
3 changed files with 9 additions and 39 deletions

View File

@@ -251,9 +251,7 @@ option(
)
option(
'gles2',
type : 'combo',
value : 'auto',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
type : 'feature',
description : 'Build support for OpenGL ES 2.x and 3.x'
)
option(