Why does my OpenGL ES iPhone game flicker when I first turn on the phone?

Posted by MrDatabase on Stack Overflow See other posts from Stack Overflow or by MrDatabase
Published on 2008-10-16T20:42:42Z Indexed on 2010/05/11 7:14 UTC
Read the original article Hit count: 222

Filed under:
|

I made a simple game for the iPhone using OpenGL ES. Everything works fine except for this problem:

I turn the phone completely off, then back on, then launch my app and I get this wierd flickering! Every other frame is correct... the incorrect frames are just the same frame over and over again. If I quit the app, launch it again everything is fine. If I quit and restart 10 times in a row everything is fine every time.

But if I turn the phone off, then back on, then launch the app I get the same flickering the first time I launch the app.

Why is this happening?!

Has anyone else had this problem?

Cheers!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about opengl-es