diff --git a/cocos2dx/textures/CCTextureAtlas.cpp b/cocos2dx/textures/CCTextureAtlas.cpp index 6a85217e6e..77f477f962 100644 --- a/cocos2dx/textures/CCTextureAtlas.cpp +++ b/cocos2dx/textures/CCTextureAtlas.cpp @@ -364,7 +364,7 @@ void CCTextureAtlas::drawQuads() void CCTextureAtlas::drawNumberOfQuads(unsigned int n) { - this->drawNumberOfQuads(m_uTotalQuads, 0); + this->drawNumberOfQuads(n, 0); } void CCTextureAtlas::drawNumberOfQuads(unsigned int n, unsigned int start)