Jump to content
  • Advertisement
Sign in to follow this  

OpenGL Issues with Fullscreen + Alt-Tab in NeHe tutorials

This topic is 3882 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
Sign in to follow this  

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!