Two small bugfixes for the CCRenderTexture, the assert in getUIImageAsDataFromBuffer was wrong and the clear color is now saved every time the rendering begins, instead of only when initializing.
Two small bugfixes for the CCRenderTexture, the assert in getUIImageAsDataFromBuffer was wrong and the clear color is now saved every time the rendering begins, instead of only when initializing.


Former-commit-id: 2c945dd4e879217663b1f98761da41978f4b3082
DNESS/cocos2d-objc,yaoxiaoyong/cocos2d-objc,nader-eloshaiker/cocos2d-objc,finthamoussu/cocos2d-objc,DNESS/cocos2d-objc,cocos2d/cocos2d-objc,savysoda/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,nader-eloshaiker/cocos2d-objc,liduanw/cocos2d-objc,dnessorga/cocos2d-objc,lpeancovschi/cocos2d-objc,knight2010/cocos2d-objc,dnessorga/cocos2d-objc,tambarskjelve/cocos2d-objc,zaneLou/cocos2d-objc,cogddo/cocos2d-objc,liduanw/cocos2d-objc,SuPair/cocos2d-objc,richardgroves/cocos2d-iphone,DNESS/cocos2d-objc,codepython/cocos2d-objc,richardgroves/cocos2d-iphone,nader-eloshaiker/cocos2d-objc,oxeron/cocos2d-objc,yaoxiaoyong/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,jason-puck/cocos2d-iphone,codepython/cocos2d-objc,savysoda/cocos2d-objc,SuPair/cocos2d-objc,liduanw/cocos2d-objc,codepython/cocos2d-objc,SuPair/cocos2d-objc,yaoxiaoyong/cocos2d-objc,dnessorga/cocos2d-objc,jason-puck/cocos2d-iphone,jason-puck/cocos2d-iphone,lpeancovschi/cocos2d-objc,seem-sky/cocos2d-swift,tambarskjelve/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,zaneLou/cocos2d-objc,TukekeSoft/cocos2d-spritebuilder,dnessorga/cocos2d-objc,lpeancovschi/cocos2d-objc,SuPair/cocos2d-objc,finthamoussu/cocos2d-objc,finthamoussu/cocos2d-objc,SuPair/cocos2d-objc,cogddo/cocos2d-objc,liduanw/cocos2d-objc,savysoda/cocos2d-objc,savysoda/cocos2d-objc,knight2010/cocos2d-objc,nader-eloshaiker/cocos2d-objc,yaoxiaoyong/cocos2d-objc,lpeancovschi/cocos2d-objc,zaneLou/cocos2d-objc,knight2010/cocos2d-objc,DNESS/cocos2d-objc,finthamoussu/cocos2d-objc,cocos2d/cocos2d-objc,seem-sky/cocos2d-swift,knight2010/cocos2d-objc,dnessorga/cocos2d-objc,seem-sky/cocos2d-swift,oxeron/cocos2d-objc,tambarskjelve/cocos2d-objc,richardgroves/cocos2d-iphone,codepython/cocos2d-objc,zaneLou/cocos2d-objc,tambarskjelve/cocos2d-objc,cogddo/cocos2d-objc,liduanw/cocos2d-objc,yaoxiaoyong/cocos2d-objc,cogddo/cocos2d-objc,seem-sky/cocos2d-swift,DNESS/cocos2d-objc,tambarskjelve/cocos2d-objc