cocos2d/cocos2d-x — pull request #2551 by silverscania (2013-05-12 15:18:12+00:00)
Title: Fix for corrupted texture issue: https://github.com/cocos2d/cocos2d-x/issues/2550

This fixes the issue described.