diff options
Diffstat (limited to 'src/declarative/scenegraph/qsgdefaultglyphnode.cpp')
-rw-r--r-- | src/declarative/scenegraph/qsgdefaultglyphnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/scenegraph/qsgdefaultglyphnode.cpp b/src/declarative/scenegraph/qsgdefaultglyphnode.cpp index b8cd247908..f41fbe486a 100644 --- a/src/declarative/scenegraph/qsgdefaultglyphnode.cpp +++ b/src/declarative/scenegraph/qsgdefaultglyphnode.cpp @@ -65,7 +65,7 @@ void QSGDefaultGlyphNode::setColor(const QColor &color) m_color = color; if (m_material != 0) { m_material->setColor(color); - setMaterial(m_material); // Indicate the material state has changed + markDirty(DirtyMaterial); } } |