Slightly reduce distance-field texture creation (and resizing) time.
authorYoann Lopes <yoann.lopes@nokia.com>
Wed, 24 Aug 2011 09:48:57 +0000 (11:48 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 24 Aug 2011 13:15:46 +0000 (15:15 +0200)
commit9f14876efbb19f2a8f0e39e8b37ae12def8275ab
treef325a8fc292e3e674f3ad4617e638ab18de74c6d
parent12d2877ac0ed64caf9f40f157e687ae58ebbd674
Slightly reduce distance-field texture creation (and resizing) time.

Pass a null pointer to glTexImage2D instead of a zero-filled array.

Change-Id: I8428b26a83a3f88ad2ee07e56e5cdb09ee5de68a
Reviewed-on: http://codereview.qt.nokia.com/3492
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp