[SDL] Fullscreen/Windowed Toggle?

Ryan Martell rdm4 at martellventures.com
Mon Nov 20 15:35:19 PST 2006


Hi!

I'm using SDL, and trying to do a window/fullscreen toggle, using  
OpenGL.

I convert from a 640x480 window to 640x480 fullscreen.  This works  
fine once I regenerate my textures.

When I convert from 640x480 fullscreen to 640x480 window, the screen  
goes back to it's native resolution, but is black.  It's not hung,  
but I'm not getting anything to draw.

I'm using Mac OS X and my version of SDL is probably a bit old (a  
month or two), but I haven't seen anything talking about this in the  
newsgroups.

Thanks!
-Ryan Martell




More information about the SDL mailing list