summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2016-02-08 23:06:51 +0200
committerwm4 <wm4@nowhere>2016-02-10 21:29:42 +0100
commit4b97869e5f8159bde598cbfc31f70ea3001d08df (patch)
treee722ab30cd271708ca2aad83adf379ba63607e16 /video/out/opengl/common.h
parentff0112e08df32e88549d142371d49a2a8ac8a798 (diff)
downloadmpv-4b97869e5f8159bde598cbfc31f70ea3001d08df.tar.bz2
mpv-4b97869e5f8159bde598cbfc31f70ea3001d08df.tar.xz
Enable building the opengl-cb video renderer on Android
* Add Android-specific OpenGL ES feature and checks * Add missing GL_* symbols for Android (list gathered by Ilya Zhuravlev <whatever@xyz.is>)
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r--video/out/opengl/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 9b16f82423..9236ce1d6f 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -36,6 +36,8 @@
#include <OpenGL/gl.h>
#include <OpenGL/gl3.h>
#include <OpenGL/glext.h>
+#elif HAVE_ANDROID_GL
+#include <GLES3/gl3.h>
#else
#include <GL/gl.h>
#include <GL/glext.h>