aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgcustomparticle.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-06-23 14:13:24 +0200
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-06-23 14:53:32 +0200
commita9853d2ffe177bf98eb7610b58bb1bbb44743510 (patch)
tree7923f9359306bd54c14dde5673d33fce154ba6ed /src/declarative/particles/qsgcustomparticle.cpp
parent098b7fb0ac84dbe65a8861cce76e036f0b9198d6 (diff)
Updated tst_nodestest to use the DirtyForceUpdate flag.
Changed test to use DirtyForceUpdate instead of DirtyAll, and removed DirtyRenderOrder and DirtyAll enums which should not be used.
Diffstat (limited to 'src/declarative/particles/qsgcustomparticle.cpp')
-rw-r--r--src/declarative/particles/qsgcustomparticle.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/particles/qsgcustomparticle.cpp b/src/declarative/particles/qsgcustomparticle.cpp
index 09cfdda143..46f160ddf4 100644
--- a/src/declarative/particles/qsgcustomparticle.cpp
+++ b/src/declarative/particles/qsgcustomparticle.cpp
@@ -452,8 +452,6 @@ QSGShaderEffectNode* QSGCustomParticle::buildCustomNode()
if (s.vertexCode.isEmpty())
s.vertexCode = qt_particles_default_vertex_code;
m_material.setProgramSource(s);
- node->markDirty(QSGNode::DirtyMaterial);
- node->markDirty(QSGNode::DirtyAll);
return node;
}