summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-21 08:57:24 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-21 08:57:24 (GMT)
commit49c5acd406f5d2607b7a66d38d6279aa8c78f7f9 (patch)
treef45126f94631d128a05817e8179ebbaaa607df60 /src/gui/painting
parenta44894a39113e0eb9d4f7c912eee4671b3f391c1 (diff)
parent8280ed177d798aeaf82868ba6c7c8c4250051f1d (diff)
downloadQt-49c5acd406f5d2607b7a66d38d6279aa8c78f7f9.zip
Qt-49c5acd406f5d2607b7a66d38d6279aa8c78f7f9.tar.gz
Qt-49c5acd406f5d2607b7a66d38d6279aa8c78f7f9.tar.bz2
Merge commit 'qt/master'
Conflicts: examples/graphicsview/graphicsview.pro
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qblendfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qblendfunctions.cpp b/src/gui/painting/qblendfunctions.cpp
index e447301..cd78de0 100644
--- a/src/gui/painting/qblendfunctions.cpp
+++ b/src/gui/painting/qblendfunctions.cpp
@@ -374,9 +374,9 @@ template <typename T> void qt_blend_argb24_on_rgb16(uchar *destPixels, int dbpl,
const uchar *src = srcPixels + y * sbpl;
const uchar *srcEnd = src + srcOffset;
while (src < srcEnd) {
-#if defined(QT_ARCH_ARM) || defined(QT_ARCH_POWERPC) || defined(QT_ARCH_SH) || (defined(QT_ARCH_WINDOWSCE) && !defined(_X86_))
+#if defined(QT_ARCH_ARM) || defined(QT_ARCH_POWERPC) || defined(QT_ARCH_SH) || defined(QT_ARCH_AVR32) || (defined(QT_ARCH_WINDOWSCE) && !defined(_X86_))
// non-16-bit aligned memory access is not possible on PowerPC,
- // ARM <v6 (QT_ARCH_ARMV6) & SH
+ // ARM <v6 (QT_ARCH_ARMV6) & SH & AVR32
quint16 spix = (quint16(src[2])<<8) + src[1];
#else
quint16 spix = *(quint16 *) (src + 1);