cocos2d/cocos2d-x — pull request #648 by dumganhar (2011-12-29 07:10:07+00:00)
Title: 16bit texture is changed to 32bit after application enter foreground

fixed #928: save pixelformat for each texture, restore the pixelformat after entering foreground