This depends on the graphics library you are using.
If you are using SDL, you might want to take a look at SDL_gfx which has some nice frame regulation functions or you may try to implement them yourself like described here: http://lazyfoo.net/SDL_tutorials/lesson14/index.php (It's C++-Code but it's relatively easy to port this to Object Pascal.)
Edit: Sorry, I just noticed this was posted in the ZenGL forums. So my answer won't help you.
Bookmarks