From: Gunnar Sletta Date: Thu, 14 Apr 2011 12:18:35 +0000 (+0200) Subject: No more source rect in the texture item X-Git-Tag: qt-v5.0.0-alpha1~310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eac644be5e14271091af7759e62376ba1a50b09;p=profile%2Fivi%2Fqtwayland.git No more source rect in the texture item --- diff --git a/src/qt-compositor/compositor_api/waylandsurfaceitem.cpp b/src/qt-compositor/compositor_api/waylandsurfaceitem.cpp index b391ba6..4472502 100644 --- a/src/qt-compositor/compositor_api/waylandsurfaceitem.cpp +++ b/src/qt-compositor/compositor_api/waylandsurfaceitem.cpp @@ -179,7 +179,6 @@ QSGNode *WaylandSurfaceItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeDa if (!node) { node = new QSGSimpleTextureNode(); node->setTexture(m_texture); - node->setSourceRect(QRectF(0, 0, width(), height())); } node->setRect(QRectF(0, 0, width(), height()));