diff options
Diffstat (limited to 'ext/eglgles/gstegladaptation.h')
-rw-r--r-- | ext/eglgles/gstegladaptation.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/eglgles/gstegladaptation.h b/ext/eglgles/gstegladaptation.h index 19f91422f..46f2cce1c 100644 --- a/ext/eglgles/gstegladaptation.h +++ b/ext/eglgles/gstegladaptation.h @@ -51,7 +51,10 @@ #include <gst/gst.h> -#ifndef HAVE_IOS +#ifdef HAVE_IOS +#include <OpenGLES/ES2/gl.h> + +#else #include <EGL/egl.h> #include <EGL/eglext.h> #include <GLES2/gl2.h> |