heliclei/cocos2d-x — pull request #153 by cocosQA (2014-04-25 20:54:03+00:00)
Title: Fixed Texture2D::initWithData setting contentSize

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