Clean up attribute arrays flags in OpenGL glyph cache
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 5 Jul 2012 13:21:56 +0000 (15:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Jul 2012 23:38:30 +0000 (01:38 +0200)
commit2f2d6db09a04bfe1dee144a13db84c5eeac136ea
tree1e7c43d4c9775edd6b488a1a2f2924e7af4c2dcd
parent13c99ee2f5c965c2c8ff7b56dade9ddc85dbf954
Clean up attribute arrays flags in OpenGL glyph cache

When used in the SceneGraph we're expected to disable the arrays
after we're done, otherwise we'll get a warning about memory corruption
and crashes.

Change-Id: Ie8e426309716bef4b75d79039e8ca0b4943c79e7
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/gui/opengl/qopengltextureglyphcache.cpp