Jump to content
  • Advertisement
Sign in to follow this  
tstandley

problems with GLUT_ELAPSED_TIME

This topic is 3669 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 using GLUT, and I am having problems with GLUT_ELAPSED_TIME. I am using glutGet(GLUT_ELAPSED_TIME); to get the time, and then I am printing it. The problem is, the time counts up and down over and over again as below. I have a different project where it just counts up like it should. What could make it print like this? 3952 3108 2666 2393 -85 -461 -1151 -2974 -12941 11652 5048 3572 2919 2553 80 -200 -656 -1534 -3926 -35622 8407 4507 3357 2806 2482 18 -296 -827 -1915 -5421 60523 6701 4100 3178 2706 2419 -52 -407 -1032 -2420 -8149 17859 5646 3784 3027 2617 2361 -129 -535 -1282 -3119 7577 4325 3278 2762 2455 -10 -341 -908 -2107 -6337 29987 6209 3959

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!