summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-10-16 17:51:47 +0200
committersfan5 <sfan5@live.de>2019-02-25 01:25:25 +0100
commitae115bd8d8535bd4d40438d1bf7c380a6731d6a4 (patch)
tree1e94c207842db79469ceb12dcfe6004da0fbba3f /video/out
parenta1279123455b11dcf2ae1c5729891b2909c67dea (diff)
downloadmpv-ae115bd8d8535bd4d40438d1bf7c380a6731d6a4.tar.bz2
mpv-ae115bd8d8535bd4d40438d1bf7c380a6731d6a4.tar.xz
opengl: Support GL_ARB_sync style fences on OpenGL ES 3.0
OpenGL ES 3.0 and up has suppport for for GL_ARB_sync style fences. Make sure that mpv can use them.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 00692f0350..86d0eec404 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -262,6 +262,7 @@ static const struct gl_functions gl_functions[] = {
},
{
.ver_core = 320,
+ .ver_es_core = 300,
.extension = "GL_ARB_sync",
.functions = (const struct gl_function[]) {
DEF_FN(FenceSync),