diff --git a/gfx/drivers_shader/shader_glsl.c b/gfx/drivers_shader/shader_glsl.c index a84731de69..dee0559c1d 100644 --- a/gfx/drivers_shader/shader_glsl.c +++ b/gfx/drivers_shader/shader_glsl.c @@ -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) {