Fix incorrect optimization in combine_over_ca().
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Thu, 6 Aug 2009 00:31:41 +0000 (20:31 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 8 Aug 2009 22:50:17 +0000 (18:50 -0400)
commit8b82cbb69197f9c367069a77ba992f3163d40230
treef0c93abfff09d155c500c0512332557cc4b8e587
parentec8b36f01030fd2fa67595f2aef4ca568b060899
Fix incorrect optimization in combine_over_ca().

Previously the code assumed that an alpha of 0 meant that no change
would take place. This is incorrect because an alpha of 0 can happen
as the result of the source having alpha=0, but rgb != 0.
pixman/pixman-combine.c.template