1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

vo_opengl: fix feature detection

Fixes #1373.
This commit is contained in:
wm4 2014-12-22 02:50:26 +01:00
parent 4b4d3a57bf
commit c640b8f3c0

View File

@ -2126,7 +2126,7 @@ static void check_gl_features(struct gl_video *p)
// GLES3 doesn't provide filtered 16 bit integer textures // GLES3 doesn't provide filtered 16 bit integer textures
// GLES2 doesn't even provide 3D 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; p->use_lut_3d = false;
disabled[n_disabled++] = "color management (GLES unsupported)"; disabled[n_disabled++] = "color management (GLES unsupported)";
} }