Archived

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

frame rate calculation question

This topic is 5313 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 am developing on my pentium 4 2.4 ghz with geforce 4 but im developing for a system about half as fast. Now when i calculate the framerate in my directx8 fullscreen app there is a limit of 60 fps. I guess to keep directx apps stable. My app reaches these 60 without major optimization, but now i''m optimizing my code and i would like to see whether my changes have affected the speed. How can i have a more sensitive fps calculation that goes over 60.

Share this post


Link to post
Share on other sites
You have to change a member of the D3DPRESENT_PARAMETERS structure:

D3DPRESENT_PARAMETERS d3dpp;
d3dpp.FullScreen_PresentationInterval=D3DPRESENT_INTERVAL_IMMEDIATE; // Disable VSync (it''s just to see max speed)


If it''s don''t work perhaps you forced the VSync with your video drivers.

Hope that''s help.
Good luck.

Share this post


Link to post
Share on other sites