Fix bugs with alpha maps
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 7 Jan 2012 21:48:00 +0000 (16:48 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 10 Jan 2012 14:04:36 +0000 (09:04 -0500)
commit4613f2caac595b3fa1298ac49f9c9fdcd907f14a
tree5a8409811d76149cebcaa181588f8c8ae90fd126
parent8bd63634cd2b2d92145b1d52b54b91ebcb9fb1b4
Fix bugs with alpha maps

The alpha channel from the alpha map must be inserted as the new alpha
channel when a scanline is fetched from an image. Previously the alpha
map would overwrite the buffer instead. This wasn't caught be the
alpha map test because it would only verify that the resulting alpha
channel was correct, and not pay attention to incorrect color
channels.
pixman/pixman-bits-image.c