Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into merge5343

This commit is contained in:
James Chen 2014-02-14 09:44:06 +08:00
commit 8700d0f64e
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@ Data Device::getTextureDataForText(const char * text,const FontDefinition& textD
break;
}
height = (short)info.height;
widht = (short)info.width;
width = (short)info.width;
ret.fastSet(info.data,width * height * 4);
} while (0);

View File

@ -224,7 +224,7 @@ Data Device::getTextureDataForText(const char * text,const FontDefinition& textD
break;
}
height = (short)info.height;
widht = (short)info.width;
width = (short)info.width;
ret.fastSet(info.data,width * height * 4);
} while (0);