mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
cd326adacc
commit
5adde7f98b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue