diff options
author | Yin Shiyou <yinshiyou-hf@loongson.cn> | 2020-02-03 17:50:51 +0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2020-02-20 09:55:17 -0800 |
commit | 127d9525d63bd51f97ef64c66a4e8fb351309738 (patch) | |
tree | 0c985e79839cd0f38564c2e54cbc9872f3120755 | |
parent | e8321503c6404012f2c760f381a1e19f8e0ef141 (diff) | |
download | pixman-127d9525d63bd51f97ef64c66a4e8fb351309738.tar.gz |
pixman-combine: Fix wrong value of RB_MASK_PLUS_ONE.
No functional change, as explained by Søren in
https://lists.freedesktop.org/archives/pixman/2020-February/004902.html
-rw-r--r-- | pixman/pixman-combine32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-combine32.h b/pixman/pixman-combine32.h index cdd56a6..59bb247 100644 --- a/pixman/pixman-combine32.h +++ b/pixman/pixman-combine32.h @@ -12,7 +12,7 @@ #define RB_MASK 0xff00ff #define AG_MASK 0xff00ff00 #define RB_ONE_HALF 0x800080 -#define RB_MASK_PLUS_ONE 0x10000100 +#define RB_MASK_PLUS_ONE 0x1000100 #define ALPHA_8(x) ((x) >> A_SHIFT) #define RED_8(x) (((x) >> R_SHIFT) & MASK) |