mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Merge pull request #2969 from vulvulune/particles-fix3
Fix: Particle Render. global variable
This commit is contained in:
commit
8259d6d928
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ ParticleRenderer.prototype.init = function ()
|
|||
var indexBuffer = indexDataBuffer.wordView;
|
||||
|
||||
// Populate the index buffer only once
|
||||
for (var indexA = indexB = 0;
|
||||
for (var indexA = 0, indexB = 0;
|
||||
indexA < ParticleRenderer.MAX_PARTICLES * ParticleRenderer.PARTICLE_INDEX_COUNT;
|
||||
indexA += ParticleRenderer.PARTICLE_INDEX_COUNT, indexB += ParticleRenderer.PARTICLE_VERTEX_COUNT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue