Fixed jugged upscaling in full screen mode

This commit is contained in:
dolphin6k 2022-06-10 20:46:48 +09:00
parent 4e298483c5
commit f838704282

View file

@ -27555,6 +27555,7 @@ static void setup(void)
#endif
renderer = SDL_CreateRenderer(window_screen, -1, 0);
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
if (native_screensize)
{
@ -27570,7 +27571,6 @@ static void setup(void)
window_scale_w = 501.f / ww;
window_scale_h = 481.f / hh;
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
if (window_scale_w > window_scale_h)
{
/* Keep things squared */