commit | 0620797a18b3cf72a69b64d25332ef0be719f223 | [log] [tgz] |
---|---|---|
author | Wim Taymans <wim.taymans@collabora.co.uk> | Thu Dec 24 22:50:31 2009 +0100 |
committer | Wim Taymans <wim@metal.(none)> | Thu Dec 24 22:50:31 2009 +0100 |
tree | d9372946fd35414432add18292fa90d3f2e19788 | |
parent | a65240d1c148599e431bf2f0892dfaa507e73ae6 [diff] |
alpha: scale and clamp alpha to its full extend Convert the alpha value to 0->255 when setting and to 0->256 when using as a scaling factor. This makes sure we can reach the full opacity value of 0xff in all cases.