diff --git a/ext/qt/qtitem.cc b/ext/qt/qtitem.cc index fe56a57581..9e7cdbe634 100644 --- a/ext/qt/qtitem.cc +++ b/ext/qt/qtitem.cc @@ -193,8 +193,6 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode, if (!texNode) { texNode = new QSGSimpleTextureNode (); texNode->setOwnsTexture (true); - } else { - tex = static_cast (texNode->texture()); } tex = new GstQSGTexture ();