Skip to content

Commit

Permalink
Integer scale 'smart' tweak (#17139)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Oct 31, 2024
1 parent 8790178 commit cbafa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/video_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cbafa3b

Please sign in to comment.