Jump to content
  • Advertisement

Archived

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

fuzzy

Direct draw frame rate

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

I made a program that flips a black back surface to a primary surface and has the capability of switching between full screen and windowed mode, and adjust to changing display modes. So basically a game program with no game in it... This is my question: Why is it that in windowed mode I seem to reach a good 500 frames per second and in fullscreen only get about 80?

Share this post


Link to post
Share on other sites
Advertisement
In fullscreen mode, you are likely being limited by the vertical refresh of your monitor or something similar.

Hope it helps

Share this post


Link to post
Share on other sites
That would be due to Vertical Synchronization in Fullscreen mode. If you would like to remove this, in your call to flip the buffers, you have to include the flag to disable VSYNC. I think it''s "DDFLIP_NO_VSYNC" or something like that. Look the exact flag up in the SDK.

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.

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!