Jump to content
  • Advertisement
Sign in to follow this  
jwbaumgartner

OpenGL ChangeDisplaySettings() Help?

This topic is 4487 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

Hey, I have a problem when using ChangeDisplaySettings() with OpenGL. When I actually create the GL Window and context at the beginning of the game I call ChangeDisplaySettings() to change my resolution for the first time. This works with no problems and I get 0 errors. However, after I reach the menu and try to change the resolution using ChangeDisplaySettings() to 800x600 at my video options menu, ChangeDisplaySettings() returns DISP_CHANGE_RESTART. It also seems that when I click my 800x600 button for a second time it ends up changing the resolution. I am wondering why this only happens the second time, and if there is any way to Force the resolution change without restarting. Any help would be great. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Check your Display Properties/Settings/Advanced/General. There is an option there to allow display changes without reboot.

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!