From 900255f2876a906071b6f4c4b7bca975db2ebaaa Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 1 Feb 2019 11:51:03 +0100 Subject: fix blend --- fb-gui.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fb-gui.c') diff --git a/fb-gui.c b/fb-gui.c index 86619a8..97f91c4 100644 --- a/fb-gui.c +++ b/fb-gui.c @@ -229,7 +229,6 @@ void shadow_draw_rgbdata(int x, int y, int pixels, unsigned char *rgb) dest[0] = rgb[2]; dest[1] = rgb[1]; dest[2] = rgb[0]; - dest[4] = 0; dest += 4; rgb += 3; } @@ -248,7 +247,6 @@ void shadow_merge_rgbdata(int x, int y, int pixels, int weight, dest[0] += rgb[2] * weight >> 8; dest[1] += rgb[1] * weight >> 8; dest[2] += rgb[0] * weight >> 8; - dest[4] = 0; dest += 4; rgb += 3; } -- cgit