1
0
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:
Pavol Rusnak 2018-09-11 18:08:40 +02:00
parent d0f2905542
commit 4a76756b75
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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);