vo_opengl: remove pointless NULL-check

It's never NULL.
This commit is contained in:
wm4 2016-06-04 13:44:46 +02:00
parent 026b75e7f5
commit a9ffe38aa1
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ static bool gl_video_get_lut3d(struct gl_video *p, enum mp_csp_prim prim,
{
GL *gl = p->gl;
if (!p->cms || !p->use_lut_3d)
if (!p->use_lut_3d)
return false;
if (!gl_lcms_has_changed(p->cms, prim, trc))