summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Widescreen.cpp
diff options
context:
space:
mode:
authorFiloppi <filippotarpini@hotmail.it>2023-12-18 01:00:47 +0200
committerFiloppi <filippotarpini@hotmail.it>2024-02-20 03:09:11 +0200
commit3f102ea8c2ccdce4365fdbd1cd04bf4284ba2f11 (patch)
tree9379388c254e87f7233d0ce41377c323b7d3703a /Source/Core/VideoCommon/Widescreen.cpp
parentccf24350478c9ab7fc852f4cf2d11a08ade41618 (diff)
Video: Make the game resolution (within the window) snap to the XFB size if they are within a ~1 pixel treshold on one axis only.
This takes care of making the image clearer in some edge cases where the game was already running at near perfect 4:3 with no stretching, and the VI aspect ratio didn't match the XFB by one pixel, making the image stretched and blurry. -Video: Fix `FindClosestIntegerResolution() using the window aspect ratio and not the draw aspect ratio, causing it to prefer stretching over black bars in cases when it wasn't desirable.
Diffstat (limited to 'Source/Core/VideoCommon/Widescreen.cpp')
0 files changed, 0 insertions, 0 deletions