aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FreePix.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <emanuele.giaquinta@gmail.com>2015-06-23 16:09:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-09-28 07:53:07 +0200
commit931d24cc296c797ff29edec7536f993090047d15 (patch)
tree4ed95cb7ffe666cab4bb86b83527aa99e5d7de72 /nx-X11/lib/X11/FreePix.c
parent6deaaf50f3fffe4ac4d5940a0e7bf38b71f7be43 (diff)
downloadnx-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/lib/X11/FreePix.c')
0 files changed, 0 insertions, 0 deletions