Initialize QSGPaintedNode with an empty size.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Thu, 12 Jun 2014 08:02:55 +0000 (10:02 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 12 Jun 2014 11:23:51 +0000 (13:23 +0200)
commitd75f6ed96dfe1df33a6518b93ed387bf39378562
treecb891bcc67a79620af4554beade8887a4647aeb8
parentc6e05767828fcdc04e5191090fa54eb48f1a1ad4
Initialize QSGPaintedNode with an empty size.

Failing to do so would cause it to not update its size when set to 1x1
which in turn would cause it to never update its texture, causing crashes
later during rendering.

Task-number: QTBUG-39555
Change-Id: I099d9ef2d6968ece21f7c03819abfd6685bec430
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/quick/scenegraph/util/qsgpainternode.cpp