diff --git a/src/ui/MxcAnimatedImage.cpp b/src/ui/MxcAnimatedImage.cpp index 3c93cc2b..3db5ef60 100644 --- a/src/ui/MxcAnimatedImage.cpp +++ b/src/ui/MxcAnimatedImage.cpp @@ -152,8 +152,10 @@ MxcAnimatedImage::updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeD imageDirty = false; QSGImageNode *n = static_cast(oldNode); - if (!n) + if (!n) { n = window()->createImageNode(); + n->setOwnsTexture(true); + } // n->setTexture(nullptr); auto img = movie.currentImage();