Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Refresh Rate problem

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

When i change the resalution to 800,600 using ChangeDisplaySettings(); but after i switch back like this ChangeDisplaySettings(NULL,0); my resfresh rate goes down to like 60hz anyone had this befor?

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
This happens most often when your arguments to the first ChangeDisplaySettings are wrong. For example, you don''t want to update the registry. Also, make sure you pass CDS_FULLSCREEN.

Also beware which application and window is active when you change back.

But, yeah, some broken drivers just makes this happen, always. The best solution is to read the current display mode and save it, then ChangeDisplayMode to what you want, then when going back, explicitly ChangeDisplayMode to what you initially got, instead of using the defaults.

Share this post

Link to post
Share on other sites

  • 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!