Jump to content
  • Advertisement
Sign in to follow this  
Medo Mex

Rendering Frames Per Second

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

In the game, when I use D3DPRESENT_INTERVAL_IMMEDIATE I get 250+ FPS, otherwise I get 61 FPS

 

If I went full screen, the game won't run, so my question here, can I make the program run at 250+ FPS instead of 61 by changing the present parameters?

Share this post


Link to post
Share on other sites
Advertisement

That D3DPRESENT enum controls which VSYNC mode to use when presenting. if you use DEFAULT or ONE the GPU will wait until the next vertical refresh period to present, which effectively limits you to the refresh rate of the monitor (which is surely 60 in your case). The point of this is to prevent horizontal tearing.

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.

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!