Yet more fullscreen drawsprocketing

Still trying to wrench Drawsprocket into obediance... Now, most things work quite well, but I can't seem to pause/inactivate a DSp context and then resume it under OS 9. I don't get any errors.

It does fade back and does the resolution switching, but I don't seem to get a blanking window (not sure about this, though). So, this leads me to believe that the AGL context doesn't reconnect with the DSp context, although I do call aglSetDrawable again, and show the window again.

I can't see anything wrong with your code, but I remember having trouble with this too. The worst thing about DrawSprocket is that it likes to do different things on OSX and OS9, so you have to do strange things to work around its quirks!

In the end I decided to completely shut down DrawSprocket when the user returns to the desktop, and start it again from scratch when they continue the game. It doesn't take any longer than switching state with DSpContext_SetState(), and I can't see any reason why keeping DrawSprocket running is better than shutting it down altogether.