cocos2d/cocos2d-x — pull request #2996 by adiumcommodore (2013-06-25 18:59:38+00:00)
Title: Fix a bug in CCSpriteBatchNode::updateBlendFunc

The current version of updateBlendFunc does not correctly reset the blend mode correctly for premultiplied alpha if the blend mode has been changed previously for a non-premultiplied texture. This can cause rendering issues. Encountered when setting a font on a CCLabelBMFont made by CCLabelBMFont::create() .