mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 12:41:18 +00:00
Fixes scaling bug for shaders.
This commit is contained in:
parent
ea153f9df2
commit
c1d5a6e140
4
gfx/gl.c
4
gfx/gl.c
@ -325,7 +325,9 @@ static void gl_init_fbo(gl_t *gl, unsigned width, unsigned height)
|
||||
gl_shader_scale(gl_shader_num(), &scale);
|
||||
if (scale.valid)
|
||||
gl->fbo_pass++;
|
||||
else
|
||||
|
||||
gl_shader_scale(1, &scale);
|
||||
if (!scale.valid)
|
||||
{
|
||||
scale.scale_x = g_settings.video.fbo_scale_x;
|
||||
scale.scale_y = g_settings.video.fbo_scale_y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user