remove duplicate codes

This commit is contained in:
dualface 2013-02-04 11:52:16 +08:00
parent c58a63aa92
commit c13965c939
1 changed files with 0 additions and 6 deletions

View File

@ -266,12 +266,6 @@ static bool _initWithString(const char * pText, cocos2d::CCImage::ETextAlign eAl
dim.height = constrainSize.height;
}
dim.width = (int)(dim.width / 2) * 2 + 2;
dim.height = (int)(dim.height / 2) * 2 + 2;
dim.width = (int)(dim.width / 2) * 2 + 2;
dim.height = (int)(dim.height / 2) * 2 + 2;
unsigned char* data = new unsigned char[(int)(dim.width * dim.height * 4)];
memset(data, 0, (int)(dim.width * dim.height * 4));