Commit 0620797a authored by Committed by Wim Taymans
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.
Showing with 5 additions and 3 deletions