summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-06-24 10:41:26 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-06-24 10:57:31 (GMT)
commit6f006b105978f53b7c5bd3d17637239f308ad20d (patch)
tree4958ec5e81dcc01aebef071a0491a904788bb37a
parente9a2f4d6d0186962b0833a53882e472bfe262bb9 (diff)
downloadQt-6f006b105978f53b7c5bd3d17637239f308ad20d.zip
Qt-6f006b105978f53b7c5bd3d17637239f308ad20d.tar.gz
Qt-6f006b105978f53b7c5bd3d17637239f308ad20d.tar.bz2
Fixed autotest failure in fillRect_stretchToDeviceMode
Swapping the length and color arguments to qt_memfill is a bad idea. Reviewed-by: Benjamin Poulain
-rw-r--r--src/gui/painting/qdrawhelper_sse2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_sse2.cpp b/src/gui/painting/qdrawhelper_sse2.cpp
index e2a69ec..04fe825 100644
--- a/src/gui/painting/qdrawhelper_sse2.cpp
+++ b/src/gui/painting/qdrawhelper_sse2.cpp
@@ -365,7 +365,7 @@ void qt_memfill32_sse2(quint32 *dest, quint32 value, int count)
void QT_FASTCALL comp_func_solid_SourceOver_sse2(uint *destPixels, int length, uint color, uint const_alpha)
{
if ((const_alpha & qAlpha(color)) == 255) {
- qt_memfill32_sse2(destPixels, length, color);
+ qt_memfill32_sse2(destPixels, color, length);
} else {
if (const_alpha != 255)
color = BYTE_MUL(color, const_alpha);