[SDL] iphone black screen

Ryan C. Gordon icculus at icculus.org
Sun Jul 24 00:28:51 PDT 2011

(Don't mind me, I'm trying to catch up on unanswered email...)

> Anybody got any ideas what's going wrong? Maybe a problem with the
> render context or something? I've googled the issue, can't seem to find
> anything related.
> my code is here: http://pastebin.com/rXhzBr14

You probably fixed this in the last month, but in case you didn't: you 
need an SDL_GL_SwapWindow(win) call in there after the glClear(). 
Drawing in OpenGL doesn't present to the screen until you swap framebuffers.


More information about the SDL mailing list