When I set my OGL app. to run in fullscreen and changing the bitdepth, it cant set the old resolution in windows back when terminating the app.
I run windows in 1280x1024x32.
My app. sets resoulution to 800x600x16.
When terminating, windows stays in 800x600.
If you use ChangeDisplaySettings() to go fullscreen, you need to call it again when the application is quitting, but now like this: ChangeDisplaySettings(NULL, 0). This will set the screen resolution to the original desktop settings.
I do that, that’s the problem. It should work. I tried it out on another computer with a different video card. Same thing happened.
This only occur when I change the bit depth though.