mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(GLSL) Remove more code
This commit is contained in:
parent
67d08f6790
commit
d63e7defb5
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user