I've implemented screen capture in my program as discussed http://groups.google.com/group/cocos2d-iphone-discuss/browse_thread/thread/3e62da7f3c32385d/f6b9bcfdcd5740bc .
The problem is I want to remove a meny before I capture the actuall screen, doing somthing like this;
[menu setPosition:cpv(-30,280)];
This seem to work ok when done outside of the screen capture function, I guess the update of the menu isn't done when I start grabbing pixels from the screen.
So my question is if there is a way to force an update of the screen somehow (through the director?) or a way to wait for the update to happen?
Regards Fredrik