From d2ea83729eab86154aa00eefc50a9cfdac99b8e6 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 18 Apr 2013 08:57:38 +0200 Subject: [PATCH] Fix uniform integer_scale bug. --- gfx/gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 6d6f7f0597..19def50407 100644 --- a/gfx/gl.c +++ b/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) {