Fix fixed fps move stuttering.

This commit is contained in:
DelinWorks 2022-06-16 03:55:46 +03:00
parent 0a1fe16b33
commit ee711032a7
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}