Sign in to follow this  

glutGet(GLUT_ELAPSED_TIME) not working for me

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

Hey there, Im trying to make a glut version of a windows/opengl game I created, so that it will play on Linux. That means i need to replace the windows functionality such as timeGetTime() and use glut's time = glutGet(GLUT_ELAPSED_TIME); Unfortunately it always returns 0 as shown by: Click here to view full size Im not sure if I have done something wrong however, becuase it keeps returning 0, no matter what. Do I need to initialize a timer somewhere first or something?

Share this post


Link to post
Share on other sites

This topic is 2815 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this