summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:18:33 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:18:33 (GMT)
commit1900bfc37d38806894db2eb1deace8aff200ed88 (patch)
tree4dd64a5e1c3ffdb297240c28dd967beb65490cc0 /src/gui/painting/qpaintengine_raster.cpp
parent7f0b65bf04f96edf0d39547f499dea1746d69ba3 (diff)
parent0ad9f711969ddbf5995ddf2b7fcd5087698b93d1 (diff)
downloadQt-1900bfc37d38806894db2eb1deace8aff200ed88.zip
Qt-1900bfc37d38806894db2eb1deace8aff200ed88.tar.gz
Qt-1900bfc37d38806894db2eb1deace8aff200ed88.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index 4a72434..aa3b89e 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -3018,10 +3018,10 @@ void QRasterPaintEngine::drawCachedGlyphs(const QPointF &p, const QTextItemInt &
QFontEngineGlyphCache::Type glyphType = ti.fontEngine->glyphFormat >= 0 ? QFontEngineGlyphCache::Type(ti.fontEngine->glyphFormat) : d->glyphCacheType;
QImageTextureGlyphCache *cache =
- (QImageTextureGlyphCache *) ti.fontEngine->glyphCache(glyphType, s->matrix);
+ (QImageTextureGlyphCache *) ti.fontEngine->glyphCache(0, glyphType, s->matrix);
if (!cache) {
cache = new QImageTextureGlyphCache(glyphType, s->matrix);
- ti.fontEngine->setGlyphCache(glyphType, cache);
+ ti.fontEngine->setGlyphCache(0, cache);
}
cache->populate(ti, glyphs, positions);