Failed to make complete framebuffer object

Hi all,

I’m working on something like a VJ app for iPad. It manages external screen and it’s OK. When i start video player, then i plug my external screen, the video still runs without any problem.

The problem occurs when i unplug the external screen : the whole OpenFrameworks view is freeze, but sound still works and update() and draw() are still called…

In the console when i unplug the screen i get

"failed to make complete framebuffer object 8cd6"  

It comes from ES1Renderer.m, function :

- (BOOL)createFramebuffer:(CAEAGLLayer *)layer  


Does some one knows what to do ? Thanks a lot.