qml: remove overwritten value

Value in tex is overwritten before being used. Removing it.

CID 1320715

https://bugzilla.gnome.org/show_bug.cgi?id=754253
This commit is contained in:
Luis de Bethencourt 2015-08-28 16:35:39 +01:00 committed by Matthew Waters
parent d47398de3b
commit 704f97defd

View file

@ -193,8 +193,6 @@ QtGLVideoItem::updatePaintNode(QSGNode * oldNode,
if (!texNode) {
texNode = new QSGSimpleTextureNode ();
texNode->setOwnsTexture (true);
} else {
tex = static_cast<GstQSGTexture *> (texNode->texture());
}
tex = new GstQSGTexture ();