mirror of https://gitlab.freedesktop.org/mesa/mesa
meson: don't allow glvnd on windows
Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
e1e2388f06
commit
3047199931
|
@ -418,7 +418,9 @@ endif
|
|||
|
||||
with_glvnd = get_option('glvnd')
|
||||
if with_glvnd
|
||||
if with_glx == 'xlib' or with_glx == 'gallium-xlib'
|
||||
if with_platform_windows
|
||||
error('glvnd cannot be used on Windows')
|
||||
elif with_glx == 'xlib' or with_glx == 'gallium-xlib'
|
||||
error('Cannot build glvnd support for GLX that is not DRI based.')
|
||||
elif with_glx == 'disabled' and not with_egl
|
||||
error('glvnd requires DRI based GLX and/or EGL')
|
||||
|
|
Loading…
Reference in New Issue