aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-06-04 13:44:46 +0200
committerGravatar wm4 <wm4@nowhere>2016-06-04 13:44:46 +0200
commita9ffe38aa115e78ed8aa6031cd611db650ec40dd (patch)
tree9c6f8e81e48d80b4686eab7b6c2249a6efaef5ab
parent026b75e7f509d29d25f42cb335538f369fb6c381 (diff)
vo_opengl: remove pointless NULL-check
It's never NULL.
-rw-r--r--video/out/opengl/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 5c24bdbb1d..3982793f94 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -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))