aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-05-29 09:08:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-29 04:37:01 +0200
commit0e75b2568d706759aa4818d8af9131ed645b65b8 (patch)
treeea0f615f77bfb685f37517c965eb633388f344eb /src/quick/scenegraph
parent58f474c1e2d97a695876c0e1bb0461eb39dadebf (diff)
Initialize data members in quick.
Found by static analysis. Change-Id: Ide1ce1d7964655664dc872de6da9962a281e229c Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r--src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp b/src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp
index cd988c70d7..1b12402b5e 100644
--- a/src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp
+++ b/src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp
@@ -188,6 +188,7 @@ void QSGDistanceFieldTextMaterialShader::updateState(const RenderState &state, Q
QSGDistanceFieldTextMaterial::QSGDistanceFieldTextMaterial()
: m_glyph_cache(0)
, m_texture(0)
+ , m_fontScale(1.0)
{
setFlag(Blending | RequiresDeterminant, true);
}