From cbafa3b5138669648df311e852bf41f231196276 Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Thu, 31 Oct 2024 02:56:56 +0200 Subject: [PATCH] Integer scale 'smart' tweak (#17139) --- gfx/video_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 2461ad6468..d5813aca9e 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2453,7 +2453,7 @@ void video_viewport_get_scaled_integer(struct video_viewport *vp, max_scale_h = overscale_h; /* Overscale will be too much even if it is closer */ else if ((scale_h_diff < -155 && scale_h_diff > (int)-content_height / 2) - || (scale_h_diff < -20 && scale_h_diff > -50) + || (scale_h_diff < -30 && scale_h_diff > -50) || (scale_h_diff > 20)) max_scale_h = underscale_h;