diff options
author | Matthew Waters <matthew@centricular.com> | 2015-09-09 23:53:57 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-09-10 00:33:19 +1000 |
commit | 591494ff5470033907e12dc695ced2c84b060aa8 (patch) | |
tree | 2a4e4cf45bbba8c622307a7ba4daf6e108c6d9b7 /gst-libs | |
parent | b6498c32f3971bffbc4424353264932e7c47a7fc (diff) | |
download | gstreamer-plugins-bad-591494ff5470033907e12dc695ced2c84b060aa8.tar.gz |
gl/api: use public rather than private define
HAVE_IOS is only defined for the build of this module so
attempting to use gstgl in iOS would result in incorrect GL
includes.
Use GST_GL_HAVE_PLATFORM_EAGL instead for choosing the iOS GL
header.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/gl/gstglapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index 5ef1c6550..dd44b4523 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -28,7 +28,7 @@ #ifndef GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES 1 #endif -# ifdef HAVE_IOS +# if GST_GL_HAVE_PLATFORM_EAGL # include <OpenGLES/ES2/gl.h> # include <OpenGLES/ES2/glext.h> # else |