|
@@ -1048,7 +1048,7 @@ void ParticleSystem::update(float dt)
|
|
|
prevPosition = position;
|
|
|
}
|
|
|
|
|
|
-bool ParticleSystem::prepareDraw(Graphics *gfx, const Matrix4 &m)
|
|
|
+bool ParticleSystem::prepareDraw(Graphics *gfx)
|
|
|
{
|
|
|
uint32 pCount = getCount();
|
|
|
|
|
@@ -1057,8 +1057,6 @@ bool ParticleSystem::prepareDraw(Graphics *gfx, const Matrix4 &m)
|
|
|
|
|
|
gfx->flushStreamDraws();
|
|
|
|
|
|
- Graphics::TempTransform transform(gfx, m);
|
|
|
-
|
|
|
const vertex::XYf_STf *textureVerts = texture->getQuad()->getVertices();
|
|
|
Vertex *pVerts = (Vertex *) buffer->map();
|
|
|
Particle *p = pHead;
|