1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-08 22:40:59 +00:00

embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones)

This commit is contained in:
Pavol Rusnak 2018-03-30 14:01:16 +02:00
parent 5fc368e330
commit 55f3edebda
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -79,7 +79,7 @@ void display_init(void)
printf("%s\n", SDL_GetError());
ensure(secfalse, "SDL_CreateWindow error");
}
RENDERER = SDL_CreateRenderer(win, -1, SDL_RENDERER_ACCELERATED);
RENDERER = SDL_CreateRenderer(win, -1, 0);
if (!RENDERER) {
printf("%s\n", SDL_GetError());
SDL_DestroyWindow(win);