mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
meson: gl: fix detection of glx without gl
We need to check for libGL if we may use desktop OpenGL *or* GLX.
This commit is contained in:
parent
f70d4ec22d
commit
78d8e895df
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ gl_include_header = '''
|
|||
# Desktop OpenGL checks
|
||||
gl_dep = unneeded_dep
|
||||
glx_dep = unneeded_dep
|
||||
if need_api_opengl != 'no' and need_platform_glx != 'no'
|
||||
if need_api_opengl != 'no' or need_platform_glx != 'no'
|
||||
gl_dep = dependency('GL', required : false)
|
||||
if not gl_dep.found()
|
||||
# if host_machine.system() == 'windows'
|
||||
|
|
Loading…
Reference in a new issue