mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
sdl: allow HIDPI window
Prevents rendering issues on some retina setups.
This commit is contained in:
parent
1e697787a6
commit
cfad075dcf
@ -103,7 +103,7 @@ void display_init(void)
|
|||||||
#ifdef TREZOR_EMULATOR_RASPI
|
#ifdef TREZOR_EMULATOR_RASPI
|
||||||
SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN
|
SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN
|
||||||
#else
|
#else
|
||||||
SDL_WINDOW_SHOWN
|
SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
if (!win) {
|
if (!win) {
|
||||||
|
Loading…
Reference in New Issue
Block a user