From a2f34a6836c75e0a85314555bcea2b9618205b55 Mon Sep 17 00:00:00 2001 From: LibretroAdmin <105389611+LibretroAdmin@users.noreply.github.com> Date: Sun, 26 Feb 2023 19:03:05 +0100 Subject: [PATCH] Update shader_glsl.c --- gfx/drivers_shader/shader_glsl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gfx/drivers_shader/shader_glsl.c b/gfx/drivers_shader/shader_glsl.c index 6395da3652..d16244156c 100644 --- a/gfx/drivers_shader/shader_glsl.c +++ b/gfx/drivers_shader/shader_glsl.c @@ -98,8 +98,6 @@ struct shader_uniforms int frame_count; int frame_direction; - int rotation; - int lut_texture[GFX_MAX_TEXTURES]; unsigned frame_count_mod; @@ -734,8 +732,6 @@ static void gl_glsl_find_uniforms(glsl_shader_data_t *glsl, uni->frame_count = gl_glsl_get_uniform(glsl, prog, "FrameCount"); uni->frame_direction = gl_glsl_get_uniform(glsl, prog, "FrameDirection"); - uni->rotation = gl_glsl_get_uniform(glsl, prog, "Rotation"); - for (i = 0; i < glsl->shader->luts; i++) uni->lut_texture[i] = glGetUniformLocation(prog, glsl->shader->lut[i].id); @@ -1332,9 +1328,6 @@ static void gl_glsl_set_params(void *dat, void *shader_data) glUniform1i(uni->frame_direction, 1); } - if (uni->rotation >= 0) - glUniform1i(uni->rotation, retroarch_get_rotation()); - /* Set lookup textures. */ for (i = 0; i < glsl->shader->luts; i++) {