diff options
author | Matthew Waters <matthew@centricular.com> | 2018-02-05 14:56:07 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-02-05 14:56:07 +1100 |
commit | 576f4e0c64584da727a66512d0f4512ac894250a (patch) | |
tree | 6e92cb31cbbe8afabc541c12f0fcc48726e8deb0 | |
parent | 92048b81c0e0c5f9a1bdb5cc2fd752bac1ec63f3 (diff) |
gl/build/meson: fix gl_api variable names
-rw-r--r-- | gst-libs/gst/gl/meson.build | 4 |
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') |