summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2018-02-05 14:56:07 +1100
committerMatthew Waters <matthew@centricular.com>2018-02-05 14:56:07 +1100
commit576f4e0c64584da727a66512d0f4512ac894250a (patch)
tree6e92cb31cbbe8afabc541c12f0fcc48726e8deb0
parent92048b81c0e0c5f9a1bdb5cc2fd752bac1ec63f3 (diff)
gl/build/meson: fix gl_api variable names
-rw-r--r--gst-libs/gst/gl/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build
index c6e9e03f2..18075c10f 100644
--- a/gst-libs/gst/gl/meson.build
+++ b/gst-libs/gst/gl/meson.build
@@ -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')