mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-03 13:08:17 +00:00
Emulator: allow software renderer
Makes emulator usable in containers
This commit is contained in:
parent
7fc58eb5db
commit
3a3bea1401
@ -67,7 +67,7 @@ void oledInit(void) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
||||
renderer = SDL_CreateRenderer(window, -1, 0);
|
||||
if (!renderer) {
|
||||
fprintf(stderr, "Failed to create renderer: %s\n", SDL_GetError());
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user