gl/color: remove if statement with no effect

Coverity 1199698
This commit is contained in:
Matthew Waters 2014-04-12 18:24:43 +10:00 committed by Tim-Philipp Müller
parent 92c243be62
commit a321fa998a

View file

@ -1051,7 +1051,6 @@ _init_convert (GstGLContext * context, GstGLColorConvert * convert)
if (info->shader_tex_names[i])
gst_gl_shader_set_uniform_1i (convert->shader, info->shader_tex_names[i],
i);
if (info->shader_scaling[i])
gst_gl_shader_set_uniform_2fv (convert->shader, scale_name, 1,
info->shader_scaling[i]);