From c640b8f3c030927580aa1cb4fd30f2b68a5ccd63 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Dec 2014 02:50:26 +0100 Subject: vo_opengl: fix feature detection Fixes #1373. --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out') diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 62b7f11584..067f8f2b1c 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2126,7 +2126,7 @@ static void check_gl_features(struct gl_video *p) // GLES3 doesn't provide filtered 16 bit integer textures // GLES2 doesn't even provide 3D textures - if (p->use_lut_3d && (gl->es < 300 || !have_float_tex)) { + if (p->use_lut_3d && ((gl->es && gl->es < 300) || !have_float_tex)) { p->use_lut_3d = false; disabled[n_disabled++] = "color management (GLES unsupported)"; } -- cgit v1.2.3