mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
gl/build/meson: fix gl_api variable names
This commit is contained in:
parent
92048b81c0
commit
576f4e0c64
1 changed files with 2 additions and 2 deletions
|
@ -370,9 +370,9 @@ if gles2_dep.found() and gl_dep.found()
|
|||
# https://github.com/mesonbuild/meson/issues/2364 is fixed
|
||||
if not cc.compiles(gl_include_block + '\n' + 'void f (void) {}',dependencies : [gles2_dep, gl_dep])
|
||||
message ('Cannot include both OpenGL and OpenGL ES headers')
|
||||
if need_gles2 != 'yes'
|
||||
if need_api_gles2 != 'yes'
|
||||
gles2_dep = unneeded_dep
|
||||
elif need_opengl != 'yes'
|
||||
elif need_api_opengl != 'yes'
|
||||
gl_dep = unneeded_dep
|
||||
else
|
||||
error('Both OpenGL and OpenGL ES were requested but cannot be included together')
|
||||
|
|
Loading…
Reference in a new issue