Hi,
I am taking screen shots of the after game complete need to post on facebook, I have save in game phone memory but the operation of saving file is too much taking time around 3.5 sec.is there any way to get the bitmap from CCRenderTexture so that i can save the time.
my code
_CCRenderTexture * tex = CCRenderTexture::create(winSize.width,
winSize.height);
tex->setPosition(ccp(winSize.width/2, winSize.height/2));
tex->begin();
this->getParent()->visit();
tex->end();
//save to jpg
const char *file;
file = "DB_Screenshot.jpeg";
bool status;
status = tex-> saveToFile(file, kCCImageFormatJPEG);_
Thank you.