diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:51:03 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-01 11:51:03 +0100 |
commit | 900255f2876a906071b6f4c4b7bca975db2ebaaa (patch) | |
tree | 46a5a3d8cea432cdc3b3cfe26b3dc05701034531 /fb-gui.c | |
parent | c140de7ce26ace99250a70d9576b9ef54518bcb2 (diff) | |
download | fbida-900255f2876a906071b6f4c4b7bca975db2ebaaa.tar.gz |
fix blend
Diffstat (limited to 'fb-gui.c')
-rw-r--r-- | fb-gui.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; } |