mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
embed/extmod/modtrezorui: use software renderer
This commit is contained in:
parent
d0f2905542
commit
4a76756b75
@ -87,7 +87,7 @@ void display_init(void)
|
||||
printf("%s\n", SDL_GetError());
|
||||
ensure(secfalse, "SDL_CreateWindow error");
|
||||
}
|
||||
RENDERER = SDL_CreateRenderer(win, -1, 0);
|
||||
RENDERER = SDL_CreateRenderer(win, -1, SDL_RENDERER_SOFTWARE);
|
||||
if (!RENDERER) {
|
||||
printf("%s\n", SDL_GetError());
|
||||
SDL_DestroyWindow(win);
|
||||
|
Loading…
Reference in New Issue
Block a user