diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-14 12:48:00 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-14 13:07:25 (GMT) |
commit | d01179752907fa441ca1ae6f6e7e7b351e2a60f8 (patch) | |
tree | c0be2b20915d926da4e3c0d814d194a8f8100e5d /src/gui/painting/qpaintengine_blitter.cpp | |
parent | 645f29c727f33cc9f8b00b8efcb658a050ac6a26 (diff) | |
download | Qt-d01179752907fa441ca1ae6f6e7e7b351e2a60f8.zip Qt-d01179752907fa441ca1ae6f6e7e7b351e2a60f8.tar.gz Qt-d01179752907fa441ca1ae6f6e7e7b351e2a60f8.tar.bz2 |
minimaldfb: Set the correct SetDstBlendFunction
Diffstat (limited to 'src/gui/painting/qpaintengine_blitter.cpp')
-rw-r--r-- | src/gui/painting/qpaintengine_blitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintengine_blitter.cpp b/src/gui/painting/qpaintengine_blitter.cpp index 7336dcc..a954294 100644 --- a/src/gui/painting/qpaintengine_blitter.cpp +++ b/src/gui/painting/qpaintengine_blitter.cpp @@ -302,7 +302,7 @@ void QBlitterPaintEngine::fill(const QVectorPath &path, const QBrush &brush) void QBlitterPaintEngine::fillRect(const QRectF &rect, const QColor &color) { Q_D(QBlitterPaintEngine); - if (d->capabillities->canBlitterFillRect() && color.alpha() == 255) { + if (d->capabillities->canBlitterFillRect() && color.alpha() == 0xff) { d->fillRect(rect, color); } else { d->lock(); @@ -319,7 +319,7 @@ void QBlitterPaintEngine::fillRect(const QRectF &rect, const QBrush &brush) return; Q_D(QBlitterPaintEngine); if (qbrush_style(brush) == Qt::SolidPattern - && qbrush_color(brush).alpha() == 255 + && qbrush_color(brush).alpha() == 0xff && d->capabillities->canBlitterFillRect()) { d->fillRect(rect, qbrush_color(brush)); |