LARGE_INTEGER troubles...

Started by
12 comments, last by elis-cool 21 years, 5 months ago
ok, nm, I seem to have it working now...
[email=esheppard@gmail.com]esheppard@gmail.com[/email]
Advertisement
Ok... for some reason my FPS has decreased now... before it was running at the monitors refresh rate (75Hz), but now its only running at ~68 FPS... could all the calls to QueryPerformanceCounter be slowing it down? but 50us isnt very long at all.. maybe its all the LARGE_INEGER math... anyone have any clues?
[email=esheppard@gmail.com]esheppard@gmail.com[/email]
Don''t forget that you are doing an integer division between the Quadparts. Cast it to double instead, or implement your own division algorithm.
You may want to check these links out...

http://www.mvps.org/directx/articles/selecting_timer_functions.htm

http://www.mvps.org/directx/articles/implementing_steady_motion.htm

This topic is closed to new replies.

Advertisement