diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-03-24 09:01:22 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-03-24 09:07:18 (GMT) |
commit | 8d9b0179a56f4ee5afc3ac6300d6bd97089eff96 (patch) | |
tree | 425b5e4be02000b7ca50563b007bf1d7b7428bb9 /src/gui/painting | |
parent | 629548a4513f1c2892c781224fcc2a451e032df3 (diff) | |
download | Qt-8d9b0179a56f4ee5afc3ac6300d6bd97089eff96.zip Qt-8d9b0179a56f4ee5afc3ac6300d6bd97089eff96.tar.gz Qt-8d9b0179a56f4ee5afc3ac6300d6bd97089eff96.tar.bz2 |
Rendering error (one pixel offset) when drawing ARGB32_PM on RGB16.
Missing increments in the blend function's tail code.
Task-number: 247492
Reviewed-by: Paul
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qblendfunctions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qblendfunctions.cpp b/src/gui/painting/qblendfunctions.cpp index d2f4ab7..6589439 100644 --- a/src/gui/painting/qblendfunctions.cpp +++ b/src/gui/painting/qblendfunctions.cpp @@ -535,6 +535,8 @@ static void qt_blend_argb32_on_rgb16(uchar *destPixels, int dbpl, s += BYTE_MUL_RGB16(*dst, 255 - alpha); *dst = s; } + ++dst; + ++src; } dst += dstExtraStride; src += srcExtraStride; |