LARGE_INTEGER troubles...
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?
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
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
Popular Topics
Advertisement