summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 605324e..49fc5f8 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -1119,9 +1119,9 @@ void QDirectFBPaintEnginePrivate::drawTiledPixmap(const QRectF &dest, const QPix
const QSizeF mappedSize(pixmapSize.width() * transform.m11(), pixmapSize.height() * transform.m22());
qreal y = ::fixCoord(destinationRect.y(), mappedSize.height(), offset.y());
const qreal startX = ::fixCoord(destinationRect.x(), mappedSize.width(), offset.x());
- while (y < destinationRect.bottom()) {
+ while (y <= destinationRect.bottom()) {
qreal x = startX;
- while (x < destinationRect.right()) {
+ while (x <= destinationRect.right()) {
const DFBRectangle destination = { qRound(x), qRound(y), mappedSize.width(), mappedSize.height() };
surface->StretchBlit(surface, sourceSurface, 0, &destination);
x += mappedSize.width();
@@ -1143,10 +1143,10 @@ void QDirectFBPaintEnginePrivate::drawTiledPixmap(const QRectF &dest, const QPix
QVarLengthArray<DFBPoint, 16> points(maxCount);
int i = 0;
- while (y < destinationRect.bottom()) {
+ while (y <= destinationRect.bottom()) {
Q_ASSERT(i < maxCount);
qreal x = startX;
- while (x < destinationRect.right()) {
+ while (x <= destinationRect.right()) {
points[i].x = qRound(x);
points[i].y = qRound(y);
sourceRects[i].x = 0;