RenderTexture cache

Hi,

I am developing android app with cocos2dx 0.12.0 and had problems with RenderTexture cache.
It didn’t work, applications always crashed during restoring it from background.
So I made some changes. There is the patch in attached files.
Tested on ASUS TF101G (Android ICS) and Acer ICONIA TAB A100 (Android 3.2).

P.S. Sorry for my English…


cocos2dx-rt-cache.patch.zip (2.1 KB)