Enable mipmapping for QSGPaintedItem's texture.
[profile/ivi/qtdeclarative.git] / src / declarative / items / qsgpainteditem.cpp
index b93406a..89cbc5e 100644 (file)
@@ -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);