heliclei/cocos2d-x — pull request #267 by cocosQA (2014-04-28 03:13:47+00:00)
Title: Fixed Texture2D::initWithData setting contentSize

Texture2D's initWithData() function returns a value before setting the contentSize/maxS/maxT variables.