aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-02-28 18:39:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-28 21:03:32 +0100
commit3cb3c3a0c8b499fecf0761e4ce3680f2a8497f51 (patch)
treedf1b2ed317985d462a09b7014e94040147190ea8 /src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
parenta3688bf41fd42befe7ab83a633dbbd71eda56cd9 (diff)
Glyph node: Those null coords are useful after all
Artifacts were visible on Linux after 3f88a5b835198e39 and this seems to be the only behavior change hitting non-retina displays. Change-Id: I0d4dc5ca05adb4585c6afad2a24d9c3a8551d809 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultglyphnode_p.cpp')
-rw-r--r--src/quick/scenegraph/qsgdefaultglyphnode_p.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
index 300741bc0a..cd462f2fb8 100644
--- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
+++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
@@ -433,8 +433,6 @@ void QSGTextMaskMaterial::populate(const QPointF &p,
QTextureGlyphCache::GlyphAndSubPixelPosition glyph(glyphIndexes.at(i), subPixelPosition);
const QTextureGlyphCache::Coord &c = cache->coords.value(glyph);
- if (c.isNull())
- continue;
QPointF glyphPosition = glyphPositions.at(i) + position;