fix in Texture2D::initWithData function some class variable set after re...

...turn.