1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

sdl: allow HIDPI window

Prevents rendering issues on some retina setups.
This commit is contained in:
Jan Pochyla 2019-01-24 16:09:46 +01:00
parent 1e697787a6
commit cfad075dcf

View File

@ -103,7 +103,7 @@ void display_init(void)
#ifdef TREZOR_EMULATOR_RASPI
SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN
#else
SDL_WINDOW_SHOWN
SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI
#endif
);
if (!win) {