mirror of
https://github.com/mpv-player/mpv
synced 2025-04-08 02:22:47 +00:00
vo_opengl: remove pointless NULL-check
It's never NULL.
This commit is contained in:
parent
026b75e7f5
commit
a9ffe38aa1
@ -632,7 +632,7 @@ static bool gl_video_get_lut3d(struct gl_video *p, enum mp_csp_prim prim,
|
|||||||
{
|
{
|
||||||
GL *gl = p->gl;
|
GL *gl = p->gl;
|
||||||
|
|
||||||
if (!p->cms || !p->use_lut_3d)
|
if (!p->use_lut_3d)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!gl_lcms_has_changed(p->cms, prim, trc))
|
if (!gl_lcms_has_changed(p->cms, prim, trc))
|
||||||
|
Loading…
Reference in New Issue
Block a user