cocos2d/cocos2d-x — pull request #2818 by dumganhar (2013-06-08 03:12:05+00:00)
Title: [develop] Minor fix for CCSprite::draw(), checking whether texture is valid, if it's invalid, don't set the attribute for it.

Fix from master branch.