mirror of https://github.com/axmolengine/axmol.git
Fix fixed fps move stuttering.
This commit is contained in:
parent
0a1fe16b33
commit
ee711032a7
|
@ -1563,6 +1563,8 @@ void ParticleSystem::update(float dt)
|
|||
_fixedFPSDelta += dt;
|
||||
if (_fixedFPSDelta < 1.0F / _fixedFPS)
|
||||
{
|
||||
updateParticleQuads();
|
||||
_transformSystemDirty = false;
|
||||
CC_PROFILER_STOP_CATEGORY(kProfilerCategoryParticles, "CCParticleSystem - update");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue