diff --git a/src/private/qquickstyleitem.cpp b/src/private/qquickstyleitem.cpp index 66cbde9649e7b539acdc351d997424fb74bca3f0..e1c9ee184f3b95175061f575e8c9fd51aae4ec73 100644 --- a/src/private/qquickstyleitem.cpp +++ b/src/private/qquickstyleitem.cpp @@ -1470,7 +1470,7 @@ QSGNode *QQuickStyleItem::updatePaintNode(QSGNode *node, UpdatePaintNodeData *) if (!styleNode) styleNode = new QQuickStyleNode; - styleNode->setTexture(window()->createTextureFromImage(m_image)); + styleNode->setTexture(window()->createTextureFromImage(m_image, QQuickWindow::TextureCanUseAtlas)); styleNode->setRect(boundingRect()); return styleNode; }