summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/video.c4
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)