Fix QSGshaderEffectTexture cleanup
authorGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 7 Sep 2011 09:46:12 +0000 (11:46 +0200)
committerKim M. Kalland <kim.kalland@nokia.com>
Wed, 7 Sep 2011 10:22:12 +0000 (12:22 +0200)
commit40b0b72d7b228929f01c996fa36b1dc617c93a86
treed57fa3b1427cd1c123d63e45eed7ab8d98855ef4
parentbb7dd6aba4241a912699d6e332968c7f61017d7e
Fix QSGshaderEffectTexture cleanup

Because we often created it too early it did not have a QSGContext
and would thus not clean up properly, causing crashes.

Change-Id: I1f5c82c87326254885ec217aaab4f1e79d18a243
Reviewed-on: http://codereview.qt.nokia.com/4329
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/declarative/items/qsgitem_p.h
src/declarative/items/qsgshadereffectsource.cpp
src/declarative/items/qsgshadereffectsource_p.h