From 4a072059630fe7d57a5fbff97d7400cc83cafe4c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Oct 2015 20:44:39 +0200 Subject: vo_opengl: debanding requires GLSL 1.30 We have to disable it, or shader compilation will fail. Fixes #2362. --- video/out/opengl/video.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/opengl/video.c') 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) -- cgit v1.2.3