(GLSL) Remove more code

This commit is contained in:
twinaphex 2016-05-15 19:58:02 +02:00
parent 67d08f6790
commit d63e7defb5

View File

@ -1079,8 +1079,6 @@ static void gl_glsl_set_params(void *data, void *shader_data,
if (glsl->active_idx)
{
unsigned j;
struct uniform_info orig_uniforms[2] = {{0}};
struct uniform_info feedback_uniforms[2] = {{0}};
/* Set original texture. */
if (uni->orig.texture >= 0)
@ -1099,12 +1097,6 @@ static void gl_glsl_set_params(void *data, void *shader_data,
if (uni->orig.input_size >= 0)
glUniform2fv(uni->orig.input_size, 1, info->input_size);
for (j = 0; j < 2; j++)
{
if (orig_uniforms[j].enabled)
gl_glsl_set_uniform_parameter(glsl, &orig_uniforms[j], NULL);
}
/* Pass texture coordinates. */
if (uni->orig.tex_coord >= 0)
{