From caee1d0446122f2afdf74fec9db2846c687d998a Mon Sep 17 00:00:00 2001 From: Sergey Borovkov Date: Fri, 8 Jan 2016 22:19:06 +0300 Subject: qml: Mark material dirty when texture buffer is updated Qt might not redraw the scene otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=758286 --- ext/qt/qtitem.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index 5786c4110..ab64d9e97 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -189,6 +189,7 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode, tex = static_cast (texNode->texture()); tex->setCaps (this->priv->caps); tex->setBuffer (this->priv->buffer); + texNode->markDirty(QSGNode::DirtyMaterial); if (this->priv->force_aspect_ratio) { src.w = this->priv->display_width; -- cgit v1.2.1