summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/bmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 43afcc5e98..011a4d60fe 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -470,8 +470,9 @@ void output_row_8_native(uint32_t row, void * row_in,
*dest = LCD_RGBPACK_LCD(r, g, b);
dest += STRIDE_MAIN(1, ctx->bm->height);
if (bm_alpha) {
- /* pack alpha channel for 2 pixels into 1 byte */
- unsigned alpha = qp->alpha;
+ /* pack alpha channel for 2 pixels into 1 byte and negate
+ * according to the interal alpha channel format */
+ uint8_t alpha = ~qp->alpha;
if (col%2)
*bm_alpha++ |= alpha&0xf0;
else