problem with glutGet(GLUT_ELAPSED_TIME)

Started by
0 comments, last by RobTheBloke 16 years, 6 months ago
I've been trying without much success to fix a problem I am having with glut. When I call glutGet(GLUT_ELAPSED_TIME), I only get seconds (not milliseconds) (actually I get milliseconds, but the resolution is seconds). I'm running on mingw32 in Windows XP. My graphics card is Nvidia GeForce 6150 LE. What is strange is that if I install the newest driver for my graphics card, this problem goes away for a little while. Then it seems that Windows reclaims control of something and starts giving second values instead of millisecond values. I did a bunch of web searching to try to solve this problem and haven't found anything useful yet. If anyone has any thoughts about what is wrong, I'd be psyched. This problem basically makes controlled-time animation impossible. Thanks, Matt
Advertisement
frametimer src
frametimer example

neither use the glut stuff, but linux & win32 api funcs instead.


This topic is closed to new replies.

Advertisement