From a7e8c36eee11246678cdc0a1f3e4e35b0b11a3f0 Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 23 Aug 2011 17:04:38 +0800 Subject: [PATCH] invoke this->drawNumberOfQuads(n, 0) in CCTextureAtlas::drawNumberOfQuads(unsigned int n) --- cocos2dx/textures/CCTextureAtlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)