summaryrefslogtreecommitdiff
path: root/ext/eglgles/gstegladaptation.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/eglgles/gstegladaptation.h')
-rw-r--r--ext/eglgles/gstegladaptation.h5
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>