Original Post
What is the recommended way to handle a task switching/minimize/restore event under windows when using SDL under OpenGL? I ask because when my game is running in full screen, task switching causes it to minimize to task bar but there's no way to restore it (or at least I can't figure out how). Secondly, when in windowed mode, minimizing and restore brings the game back but some of the textures are lost. I know I have to reload the textures in such cases but how do I capture the restore event?