diff options
author | Emanuele Giaquinta <emanuele.giaquinta@gmail.com> | 2015-06-23 20:06:48 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2015-06-23 20:18:08 +0200 |
commit | 64b2001db6469ceb29835049e04f4e7b607d8ee2 (patch) | |
tree | e8c45bb13a7629ce5520b50f62bca2828335a5d6 /nx-X11/util | |
parent | 085dccc994e3fbfc8dee60497684606b67639de8 (diff) | |
download | nx-libs-64b2001db6469ceb29835049e04f4e7b607d8ee2.tar.gz nx-libs-64b2001db6469ceb29835049e04f4e7b607d8ee2.tar.bz2 nx-libs-64b2001db6469ceb29835049e04f4e7b607d8ee2.zip |
nx-X11: Fix alpha premultiplication in XRenderParseColor. Fixes: #893.
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>
v2: backport to nx-libs 3.6.x (Mike Gabriel)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
Adds:
- 0040_nx-X11_Fix-alpha-premultiplication-in-XRenderPa.full.patch
Diffstat (limited to 'nx-X11/util')
0 files changed, 0 insertions, 0 deletions