diff options
author | wm4 <wm4@nowhere> | 2017-11-03 11:53:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-03 11:53:31 +0100 |
commit | 99dd2f57f083e4409b3b993d3c09ed42730db576 (patch) | |
tree | 30ccb36a51221c92a5a936420bc10d3864ffe32b /video/out/opengl | |
parent | 2abf20b2b2287150751c4e60f0eec818ade5fe73 (diff) | |
download | mpv-99dd2f57f083e4409b3b993d3c09ed42730db576.tar.bz2 mpv-99dd2f57f083e4409b3b993d3c09ed42730db576.tar.xz |
vo_gpu: ra_gl: fix minimum GLSL version to 120
Not sure why there was 110, or why there is even a default.
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c index be3ff8e438..fda40da43e 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -625,7 +625,7 @@ void mpgl_load_functions2(GL *gl, void *(*get_fn)(void *ctx, const char *n), if (gl->es >= 300) gl->glsl_version = 300; } else { - gl->glsl_version = 110; + gl->glsl_version = 120; int glsl_major = 0, glsl_minor = 0; if (shader && sscanf(shader, "%d.%d", &glsl_major, &glsl_minor) == 2) gl->glsl_version = glsl_major * 100 + glsl_minor; |