Merge pull request #358 from natural-law/master

Resolve the bug of some particle test cases can't be shown.
This commit is contained in:
minggo 2011-07-06 20:04:42 -07:00
commit a0e10ec8c4
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ void CCParticleSystemQuad::updateQuadWithParticle(tCCParticle* particle, CCPoint
ccV2F_C4B_T2F_Quad *quad = &(m_pQuads[m_nParticleIdx]);
ccColor4B color = {particle->color.r * 255, particle->color.g * 255, particle->color.b * 255,
particle->color.b * 255};
particle->color.a * 255};
quad->bl.colors = color;
quad->br.colors = color;
quad->tl.colors = color;