Jump to content
  • Advertisement
Sign in to follow this  
LeGardien

OpenGL Issues with Fullscreen + Alt-Tab in NeHe tutorials

This topic is 3965 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The reason I ask is because my own OpenGL functions are based on the NeHe samples. I have a couple projects that work fine with the exception of this problem. Why is it that the NeHe tutorials will handle alt-tab in windowed mode perfectly, but in fullscreen mode, the resolution will remain in the program's display mode and the frame will keep being drawn even if you call ChangeDisplaySettings(NULL, 0) when your window procedure gets a WM_ACTIVATE message? Is there an easy way to fix this so that the resolution changes back to desktop, the window minimizes properly and the program stops drawing?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!