mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
gl/color: remove if statement with no effect
Coverity 1199698
This commit is contained in:
parent
92c243be62
commit
a321fa998a
1 changed files with 2 additions and 3 deletions
|
@ -1051,9 +1051,8 @@ _init_convert (GstGLContext * context, GstGLColorConvert * convert)
|
||||||
if (info->shader_tex_names[i])
|
if (info->shader_tex_names[i])
|
||||||
gst_gl_shader_set_uniform_1i (convert->shader, info->shader_tex_names[i],
|
gst_gl_shader_set_uniform_1i (convert->shader, info->shader_tex_names[i],
|
||||||
i);
|
i);
|
||||||
if (info->shader_scaling[i])
|
gst_gl_shader_set_uniform_2fv (convert->shader, scale_name, 1,
|
||||||
gst_gl_shader_set_uniform_2fv (convert->shader, scale_name, 1,
|
info->shader_scaling[i]);
|
||||||
info->shader_scaling[i]);
|
|
||||||
|
|
||||||
g_free (scale_name);
|
g_free (scale_name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue