sswift #1 I use something similar to this in my games. I set a max fps constant, and if a frame renders faster than one frame should take at that fps then I delay it to pad it out to the right time.