mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +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());
|
printf("%s\n", SDL_GetError());
|
||||||
ensure(secfalse, "SDL_CreateWindow error");
|
ensure(secfalse, "SDL_CreateWindow error");
|
||||||
}
|
}
|
||||||
RENDERER = SDL_CreateRenderer(win, -1, 0);
|
RENDERER = SDL_CreateRenderer(win, -1, SDL_RENDERER_SOFTWARE);
|
||||||
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