mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
use best scale quality
This commit is contained in:
parent
74ba228961
commit
d113155634
@ -1108,6 +1108,7 @@ static bool recreateWindow(int w, int h, int bpp, bool fullscreen, int displayIn
|
|||||||
#ifdef VCMI_IOS
|
#ifdef VCMI_IOS
|
||||||
SDL_SetHint(SDL_HINT_IOS_HIDE_HOME_INDICATOR, "1");
|
SDL_SetHint(SDL_HINT_IOS_HIDE_HOME_INDICATOR, "1");
|
||||||
SDL_SetHint(SDL_HINT_RETURN_KEY_HIDES_IME, "1");
|
SDL_SetHint(SDL_HINT_RETURN_KEY_HIDES_IME, "1");
|
||||||
|
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "best");
|
||||||
|
|
||||||
Uint32 windowFlags = SDL_WINDOW_BORDERLESS | SDL_WINDOW_ALLOW_HIGHDPI;
|
Uint32 windowFlags = SDL_WINDOW_BORDERLESS | SDL_WINDOW_ALLOW_HIGHDPI;
|
||||||
if(!createWindow(windowFlags | SDL_WINDOW_METAL))
|
if(!createWindow(windowFlags | SDL_WINDOW_METAL))
|
||||||
|
Loading…
Reference in New Issue
Block a user