Zack
2007-03-16 02:25:33 UTC
I'm just learning opengl but one thing that is bugging me is I keep
running into glutTimerFuc being used to generate a specified FPS. Even
if I set it to update at 1 FPS my cpu is being 100% consumed. Is
glutTimerFunc implemented with busy spinning? What is the preferred way
to control FPS? I guess I could always use my specific OS's timer
utilities but is there any better way to do this with the opengl api?
running into glutTimerFuc being used to generate a specified FPS. Even
if I set it to update at 1 FPS my cpu is being 100% consumed. Is
glutTimerFunc implemented with busy spinning? What is the preferred way
to control FPS? I guess I could always use my specific OS's timer
utilities but is there any better way to do this with the opengl api?
--
Zack
Zack