Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/pixman/dist/pixman Undo upstream commit b4a10...



details:   https://anonhg.NetBSD.org/xsrc/rev/1e41a685bcb8
branches:  trunk
changeset: 7268:1e41a685bcb8
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Dec 06 13:50:55 2022 +0000

description:
Undo upstream commit b4a105d77232a87304b7b621e2f99e699a8eebd3, it breaks
colours on big endian machines. Also reported upstream.

diffstat:

 external/mit/pixman/dist/pixman/pixman-fast-path.c |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (15 lines):

diff -r 1a7826a0ff69 -r 1e41a685bcb8 external/mit/pixman/dist/pixman/pixman-fast-path.c
--- a/external/mit/pixman/dist/pixman/pixman-fast-path.c        Mon Nov 14 06:41:04 2022 +0000
+++ b/external/mit/pixman/dist/pixman/pixman-fast-path.c        Tue Dec 06 13:50:55 2022 +0000
@@ -2836,11 +2836,7 @@
        sgtot = CLIP (sgtot, 0, 0xff);
        sbtot = CLIP (sbtot, 0, 0xff);
 
-#ifdef WORDS_BIGENDIAN
-       buffer[k] = (satot << 0) | (srtot << 8) | (sgtot << 16) | (sbtot << 24);
-#else
        buffer[k] = (satot << 24) | (srtot << 16) | (sgtot << 8) | (sbtot << 0);
-#endif
 
     next:
        vx += ux;



Home | Main Index | Thread Index | Old Index