mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix a copy'n'paste-o that would result in mis-rounding of the results of
several composite operators in A and G channels.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2005-12-28 Eric Anholt <anholt@FreeBSD.org>
|
||||
|
||||
* fb/fbpict.h:
|
||||
Fix a copy'n'paste-o that would result in mis-rounding of the results of
|
||||
several composite operators in A and G channels.
|
||||
|
||||
2005-12-28 Eric Anholt <anholt@FreeBSD.org>
|
||||
|
||||
* Xext/shmint.h:
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
x = (x + ((x >> 8) & 0xff00ff)) >> 8; \
|
||||
x &= 0xff00ff; \
|
||||
x += (y >> 8) & 0xff00ff; \
|
||||
x |= 0x1000100 - ((t >> 8) & 0xff00ff); \
|
||||
x |= 0x1000100 - ((x >> 8) & 0xff00ff); \
|
||||
x &= 0xff00ff; \
|
||||
x <<= 8; \
|
||||
x += t; \
|
||||
|
||||
Reference in New Issue
Block a user