mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-24 06:11:06 +00:00
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)
This commit is contained in:
parent
5fc368e330
commit
55f3edebda
@ -79,7 +79,7 @@ void display_init(void)
|
|||||||
printf("%s\n", SDL_GetError());
|
printf("%s\n", SDL_GetError());
|
||||||
ensure(secfalse, "SDL_CreateWindow error");
|
ensure(secfalse, "SDL_CreateWindow error");
|
||||||
}
|
}
|
||||||
RENDERER = SDL_CreateRenderer(win, -1, SDL_RENDERER_ACCELERATED);
|
RENDERER = SDL_CreateRenderer(win, -1, 0);
|
||||||
if (!RENDERER) {
|
if (!RENDERER) {
|
||||||
printf("%s\n", SDL_GetError());
|
printf("%s\n", SDL_GetError());
|
||||||
SDL_DestroyWindow(win);
|
SDL_DestroyWindow(win);
|
||||||
|
Loading…
Reference in New Issue
Block a user