aboutsummaryrefslogtreecommitdiffstats
path: root/fb-gui.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-01 11:51:03 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-01 11:51:03 +0100
commit900255f2876a906071b6f4c4b7bca975db2ebaaa (patch)
tree46a5a3d8cea432cdc3b3cfe26b3dc05701034531 /fb-gui.c
parentc140de7ce26ace99250a70d9576b9ef54518bcb2 (diff)
downloadfbida-900255f2876a906071b6f4c4b7bca975db2ebaaa.tar.gz
fix blend
Diffstat (limited to 'fb-gui.c')
-rw-r--r--fb-gui.c2
1 files changed, 0 insertions, 2 deletions
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;
}