aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/qsgdistancefieldglyphnode.cpp')
-rw-r--r--src/quick/scenegraph/qsgdistancefieldglyphnode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp
index 39012ba252..4c6589d1f9 100644
--- a/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp
+++ b/src/quick/scenegraph/qsgdistancefieldglyphnode.cpp
@@ -317,7 +317,6 @@ void QSGDistanceFieldGlyphNode::updateGeometry()
ip.append(o + 0);
}
- int subnodeCount = 0;
if (m_glyphNodeType == SubGlyphNode) {
Q_ASSERT(m_glyphsInOtherTextures.isEmpty());
} else {
@@ -342,7 +341,6 @@ void QSGDistanceFieldGlyphNode::updateGeometry()
subNode->update();
subNode->updateGeometry(); // we have to explicitly call this now as preprocess won't be called before it's rendered
appendChildNode(subNode);
- ++subnodeCount;
}
++ite;
}