summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/expr/qifthenclause.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-11-16 12:27:57 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-11-16 13:11:45 (GMT)
commita40e77495612db0b89730debbacc585a22d0eb3a (patch)
tree1102634dabfaecb832b8007e282aa0af878f173e /src/xmlpatterns/expr/qifthenclause.cpp
parent32817efdfec402f2e839535c326a49f884cb984f (diff)
downloadQt-a40e77495612db0b89730debbacc585a22d0eb3a.zip
Qt-a40e77495612db0b89730debbacc585a22d0eb3a.tar.gz
Qt-a40e77495612db0b89730debbacc585a22d0eb3a.tar.bz2
Fix possible missing glyphs in text when using GL engine
If you create/destroy gl contexts a lot, you may sometimes get a new context with the same pointer as a destroyed context. When you look up the glyph cache in the font engine using the context pointer as a key, you will then get a glyph cache which contains no valid data. We need to reset the glyph cache completely in this case and set up bindings for the new context so that the glyph cache can be repopulated and reused. Note that there is a different solution for this in Qt 4.8, so this is temporary solution for the Qt 4.7.x series. Task-number: QT-4162 Reviewed-by: Fabien Freling
Diffstat (limited to 'src/xmlpatterns/expr/qifthenclause.cpp')
0 files changed, 0 insertions, 0 deletions