1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

use best scale quality

This commit is contained in:
Andrey Filipenkov 2022-08-06 16:19:46 +03:00
parent 74ba228961
commit d113155634

View File

@ -1108,6 +1108,7 @@ static bool recreateWindow(int w, int h, int bpp, bool fullscreen, int displayIn
#ifdef VCMI_IOS
SDL_SetHint(SDL_HINT_IOS_HIDE_HOME_INDICATOR, "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;
if(!createWindow(windowFlags | SDL_WINDOW_METAL))