Better scale quality for small screens.
This commit is contained in:
parent
e0324d5255
commit
bb6b6aea93
1 changed files with 1 additions and 0 deletions
|
|
@ -23313,6 +23313,7 @@ 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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue