mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 09:50:57 +00:00
modtrezorui/unix: fix 43e8b85
This commit is contained in:
parent
99d3ae5e8b
commit
3a48307002
@ -61,6 +61,9 @@ int display_init(void)
|
|||||||
TEXTURE = SDL_CreateTexture(RENDERER, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STREAMING, DISPLAY_RESX, DISPLAY_RESY);
|
TEXTURE = SDL_CreateTexture(RENDERER, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STREAMING, DISPLAY_RESX, DISPLAY_RESY);
|
||||||
SDL_SetTextureBlendMode(TEXTURE, SDL_BLENDMODE_NONE);
|
SDL_SetTextureBlendMode(TEXTURE, SDL_BLENDMODE_NONE);
|
||||||
SDL_SetTextureAlphaMod(TEXTURE, 0);
|
SDL_SetTextureAlphaMod(TEXTURE, 0);
|
||||||
|
|
||||||
|
DISPLAY_BACKLIGHT = 0;
|
||||||
|
DISPLAY_ORIENTATION = 0;
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user