I'm getting into GL/GLUT now - I've been using SDL and Allegro for a while and I thought "hey, why not make my own game engine?" I know what you're thinking... what a tool, why doesn't he just stick with SDL. Well, it's a learning experience, ok? So don't give me any lip about that.
But I did have a question concerning something I found I could do easily in SDL, and that is giving me some difficulty right now. I'm trying to get the window to update and redraw every 60 frames per second (or every vsync, at least). How does one go about doing that within glutMainLoop()?