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.
This commit is contained in:
Anton Kindestam 2018-10-16 17:51:47 +02:00 committed by sfan5
parent a127912345
commit ae115bd8d8
1 changed files with 1 additions and 0 deletions

View File

@ -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),