Fixes crash in QSGDefaultDistanceFieldGlyphCache::resizeTexture()
authorYoann Lopes <yoann.lopes@nokia.com>
Thu, 17 Nov 2011 13:25:24 +0000 (14:25 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 17 Nov 2011 14:19:38 +0000 (15:19 +0100)
commitb8c5be40ddd2a6a0c54d02293e2c27e990df1736
treee250934990ac7e1928208d603fbb8f38d8ae27c3
parent3846150e843079c3f7c7e4933ee863090bf1a13e
Fixes crash in QSGDefaultDistanceFieldGlyphCache::resizeTexture()

The blit shader was not valid anymore after deleting and recreating a
QQuickCanvas.

Task-number: QTBUG-22783
Change-Id: Id13578006b89859b862685b3a695eb8b59a48c56
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/declarative/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
src/declarative/scenegraph/qsgdefaultdistancefieldglyphcache_p.h