Fixed jugged upscaling in full screen mode
This commit is contained in:
parent
4e298483c5
commit
f838704282
1 changed files with 1 additions and 1 deletions
|
|
@ -27555,6 +27555,7 @@ static void setup(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
renderer = SDL_CreateRenderer(window_screen, -1, 0);
|
renderer = SDL_CreateRenderer(window_screen, -1, 0);
|
||||||
|
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
|
||||||
|
|
||||||
if (native_screensize)
|
if (native_screensize)
|
||||||
{
|
{
|
||||||
|
|
@ -27570,7 +27571,6 @@ static void setup(void)
|
||||||
window_scale_w = 501.f / ww;
|
window_scale_w = 501.f / ww;
|
||||||
window_scale_h = 481.f / hh;
|
window_scale_h = 481.f / hh;
|
||||||
|
|
||||||
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
|
|
||||||
if (window_scale_w > window_scale_h)
|
if (window_scale_w > window_scale_h)
|
||||||
{
|
{
|
||||||
/* Keep things squared */
|
/* Keep things squared */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue