diff options
author | wm4 <wm4@nowhere> | 2015-10-01 20:44:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-01 20:44:39 +0200 |
commit | 4a072059630fe7d57a5fbff97d7400cc83cafe4c (patch) | |
tree | b02c88909ea387b09598f76cd1f56b8a22a29a4d /video | |
parent | 7c5f41ff5f00a823f4c75b7d9799729a05f943c9 (diff) | |
download | mpv-4a072059630fe7d57a5fbff97d7400cc83cafe4c.tar.bz2 mpv-4a072059630fe7d57a5fbff97d7400cc83cafe4c.tar.xz |
vo_opengl: debanding requires GLSL 1.30
We have to disable it, or shader compilation will fail.
Fixes #2362.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index d3d7e38afb..fb339992cc 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -2147,6 +2147,10 @@ static void check_gl_features(struct gl_video *p) p->use_lut_3d = false; MP_WARN(p, "Disabling color management (GLSL version too old).\n"); } + if (!have_mix && p->opts.deband) { + p->opts.deband = 0; + MP_WARN(p, "Disabling debanding (GLSL version too old).\n"); + } } static void init_gl(struct gl_video *p) |