mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Fix uniform integer_scale bug.
This commit is contained in:
parent
54725d009c
commit
d2ea83729e
2
gfx/gl.c
2
gfx/gl.c
@ -714,6 +714,8 @@ void gl_set_viewport(void *data, unsigned width, unsigned height, bool force_ful
|
||||
if (g_settings.video.scale_integer && !force_full)
|
||||
{
|
||||
gfx_scale_integer(&gl->vp, width, height, g_extern.system.aspect_ratio, gl->keep_aspect);
|
||||
width = gl->vp.width;
|
||||
height = gl->vp.height;
|
||||
}
|
||||
else if (gl->keep_aspect && !force_full)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user