No more source rect in the texture item
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 14 Apr 2011 12:18:35 +0000 (14:18 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 14 Apr 2011 12:18:35 +0000 (14:18 +0200)
src/qt-compositor/compositor_api/waylandsurfaceitem.cpp

index b391ba6..4472502 100644 (file)
@@ -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()));