Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nx-X11: Fix alpha premultiplication in XRenderParseColor. Fixes: #893. | Emanuele Giaquinta | 2015-06-23 | 1 | -0/+31 |
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 |