mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
lcd: Fix possible unset-before-use variable in 4bit alpha blending
Change-Id: I39e779e9452239b00731f31f55225cd979afe911
This commit is contained in:
parent
c2344070ac
commit
ff3155be9a
1 changed files with 2 additions and 0 deletions
|
|
@ -508,6 +508,8 @@ static void ICODE_ATTR lcd_alpha_bitmap_part_mix(
|
|||
if (alpha_pixels) { \
|
||||
alpha_data = *alpha++ ^ dmask; \
|
||||
alpha_data >>= ALPHA_BPP; \
|
||||
} else { \
|
||||
alpha_data = 0; \
|
||||
} \
|
||||
} while(0)
|
||||
#define START_ALPHA() do { } while(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue