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.
This commit is contained in:
Matthew Waters 2015-09-09 23:53:57 +10:00 committed by Tim-Philipp Müller
parent cd326adacc
commit 5adde7f98b

View file

@ -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