aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@nokia.com>2011-05-09 13:12:35 +0200
committerYoann Lopes <yoann.lopes@nokia.com>2011-05-09 13:13:24 +0200
commitb7e0c07633c60a901f993362df8ed356bb116a75 (patch)
tree9f977e9433cd48d31b84e2d7fdd64cc56327f06d /src/declarative/items
parentc962253085265e2a9f1cfb42919cf44d04b2c45f (diff)
Enable mipmapping for QSGPaintedItem's texture.
Diffstat (limited to 'src/declarative/items')
-rw-r--r--src/declarative/items/qsgpainteditem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsgpainteditem.cpp b/src/declarative/items/qsgpainteditem.cpp
index b93406a3d7..89cbc5e980 100644
--- a/src/declarative/items/qsgpainteditem.cpp
+++ b/src/declarative/items/qsgpainteditem.cpp
@@ -416,6 +416,7 @@ QSGNode *QSGPaintedItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *
node->setSize(QSize(qRound(br.width()), qRound(br.height())));
node->setSmoothPainting(d->antialiasing);
node->setLinearFiltering(d->smooth);
+ node->setMipmapping(d->smooth);
node->setOpaquePainting(d->opaquePainting);
node->setFillColor(d->fillColor);
node->setContentsScale(d->contentsScale);