mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-24 06:11:06 +00:00
fix black as alpha in ui simulator
This commit is contained in:
parent
3a5d29848b
commit
18abed64f0
@ -95,6 +95,8 @@ void display_init(void)
|
||||
SDL_RenderClear(RENDERER);
|
||||
SCREEN = SDL_CreateRGBSurface(0, RESX, RESY, 16, 0xF800, 0x07E0, 0x001F, 0x0000);
|
||||
TEXTURE = SDL_CreateTexture(RENDERER, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STREAMING, RESX, RESY);
|
||||
SDL_SetTextureBlendMode(TEXTURE, SDL_BLENDMODE_NONE);
|
||||
SDL_SetTextureAlphaMod(TEXTURE, 0);
|
||||
}
|
||||
|
||||
void display_set_window(uint16_t x, uint16_t y, uint16_t w, uint16_t h)
|
||||
|
2
vendor/micropython
vendored
2
vendor/micropython
vendored
@ -1 +1 @@
|
||||
Subproject commit a15a57d3740b7b63433247514eab2089f2a5d0ac
|
||||
Subproject commit 3dd71afa643f0191d55383adbe0501a6bac32c6a
|
Loading…
Reference in New Issue
Block a user