summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-22 02:50:26 +0100
committerwm4 <wm4@nowhere>2014-12-22 02:50:26 +0100
commitc640b8f3c030927580aa1cb4fd30f2b68a5ccd63 (patch)
treed01b1fc481d0bd1e6f9fe3da79c856364b68477f /video/out
parent4b4d3a57bf9c793c8a938ab1cdcf4e856d5b0ca1 (diff)
downloadmpv-c640b8f3c030927580aa1cb4fd30f2b68a5ccd63.tar.bz2
mpv-c640b8f3c030927580aa1cb4fd30f2b68a5ccd63.tar.xz
vo_opengl: fix feature detection
Fixes #1373.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
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)";
}