diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-06-02 14:17:22 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-06-02 14:19:43 (GMT) |
commit | 37ef97675aeb71a542ef179e98d5ee29f98d25c2 (patch) | |
tree | d4463a0f6e83b8b0ba8219fdd781bdd4dc41ce58 /src/gui/painting/qpaintengine_blitter.cpp | |
parent | 31608f9ca899b4d85b3c339bbab24cf42450831f (diff) | |
download | Qt-37ef97675aeb71a542ef179e98d5ee29f98d25c2.zip Qt-37ef97675aeb71a542ef179e98d5ee29f98d25c2.tar.gz Qt-37ef97675aeb71a542ef179e98d5ee29f98d25c2.tar.bz2 |
Use the QBlittable::drawPixmap implementation for pixmaps when we can
just enable a few more states
Diffstat (limited to 'src/gui/painting/qpaintengine_blitter.cpp')
-rw-r--r-- | src/gui/painting/qpaintengine_blitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintengine_blitter.cpp b/src/gui/painting/qpaintengine_blitter.cpp index 4144696..f2e6cdd 100644 --- a/src/gui/painting/qpaintengine_blitter.cpp +++ b/src/gui/painting/qpaintengine_blitter.cpp @@ -117,12 +117,12 @@ public: updateStateBits(&drawPixmapMask, STATE_XFORM_SCALE, true); updateStateBits(&drawPixmapMask, STATE_XFORM_COMPLEX, false); - updateStateBits(&drawPixmapMask, STATE_BRUSH_PATTERN, false); + updateStateBits(&drawPixmapMask, STATE_BRUSH_PATTERN, true); updateStateBits(&drawPixmapMask, STATE_BRUSH_ALPHA, false); - updateStateBits(&drawPixmapMask, STATE_PEN_ENABLED, false); + updateStateBits(&drawPixmapMask, STATE_PEN_ENABLED, true); - updateStateBits(&drawPixmapMask, STATE_ANTIALIASING, false); + updateStateBits(&drawPixmapMask, STATE_ANTIALIASING, true); updateStateBits(&drawPixmapMask, STATE_ALPHA, false); updateStateBits(&drawPixmapMask, STATE_BLENDING_COMPLEX, false); |