diff --git a/cocos2dx/particle_nodes/CCParticleSystemQuad.cpp b/cocos2dx/particle_nodes/CCParticleSystemQuad.cpp index 3adcd4b58c..e0deffb27b 100644 --- a/cocos2dx/particle_nodes/CCParticleSystemQuad.cpp +++ b/cocos2dx/particle_nodes/CCParticleSystemQuad.cpp @@ -596,6 +596,7 @@ void ParticleSystemQuad::setBatchNode(ParticleBatchNode * batchNode) CC_SAFE_FREE(_indices); glDeleteBuffers(2, &_buffersVBO[0]); + memset(_buffersVBO, 0, sizeof(_buffersVBO)); #if CC_TEXTURE_ATLAS_USE_VAO glDeleteVertexArrays(1, &_VAOname); GL::bindVAO(0);