summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.h
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2016-10-19 12:07:05 -0700
committerwm4 <wm4@nowhere>2016-10-20 17:45:25 +0200
commit4bd3e51fbe61ae83bc9f6674646962d24ea1e075 (patch)
treeefc93ffc97d3766038dd99d3b245d9a73d401351 /video/out/opengl/common.h
parent5da510b5fc26800598aa5bbd2c30ccf2f21cf662 (diff)
downloadmpv-4bd3e51fbe61ae83bc9f6674646962d24ea1e075.tar.bz2
mpv-4bd3e51fbe61ae83bc9f6674646962d24ea1e075.tar.xz
opengl: compile against iOS OpenGLES implementation
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r--video/out/opengl/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 5abe839b8d..afb5b61f7e 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -36,6 +36,9 @@
#include <OpenGL/gl.h>
#include <OpenGL/gl3.h>
#include <OpenGL/glext.h>
+#elif HAVE_IOS_GL
+#include <OpenGLES/ES2/glext.h>
+#include <OpenGLES/ES3/glext.h>
#elif HAVE_ANDROID_GL
#include <GLES3/gl3.h>
#else