Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 279 vs 280 for /trunk/Source Code/Dynamics/Entities/Particles/ParticleEmitter.cpp

Diff revisions: vs.
  @@ -171,7 +171,6 @@
171 171 ///When the SceneGraph calls the particle emitter's render function, we draw the impostor if needed
172 172 void ParticleEmitter::render(SceneGraphNode* const sgn, const SceneRenderState& sceneRenderState){
173 173 if(_particlesCurrentCount > 0 && _enabled && _created){
174 - GFX_DEVICE.updateStates();
175 174 _drawCommand.setStateHash(_particleStateBlockHash);
176 175 _drawCommand.setInstanceCount(_particlesCurrentCount);
177 176 _particleGPUBuffer->Draw(_drawCommand);