diff options
author | Emanuele Giaquinta <emanuele.giaquinta@gmail.com> | 2015-06-23 16:09:50 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-09-28 07:53:07 +0200 |
commit | 931d24cc296c797ff29edec7536f993090047d15 (patch) | |
tree | 4ed95cb7ffe666cab4bb86b83527aa99e5d7de72 /nx-X11/include | |
parent | 6deaaf50f3fffe4ac4d5940a0e7bf38b71f7be43 (diff) | |
download | nx-libs-931d24cc296c797ff29edec7536f993090047d15.tar.gz nx-libs-931d24cc296c797ff29edec7536f993090047d15.tar.bz2 nx-libs-931d24cc296c797ff29edec7536f993090047d15.zip |
Fix alpha premultiplication in XRenderParseColor.
Due to C arithmetic conversion rules we must use an unsigned constant (or a
cast) to perform the multiplication using unsigned arithmetic.
Fixes ArcticaProject/nx-libs#55.
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/include')
0 files changed, 0 insertions, 0 deletions