Fix alpha handling for 10 bpc formats.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Fri, 18 Sep 2009 13:11:04 +0000 (09:11 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Thu, 24 Sep 2009 10:49:56 +0000 (06:49 -0400)
commit48ba7d946146ea7b0e33e963942bedde22a3b806
tree06cc7385048c254c475bebe83f259c4a36fbf82e
parentc673c83e070ed2392c00716fe20a80a798588b39
Fix alpha handling for 10 bpc formats.

These generally extracted the 2 bits of alpha, then shifted them 62
bits and replicated across 16 bits. Then they were shifted another 48
bits, making the resulting alpha channel 0.
pixman/pixman-access.c