Lock FPS
-
- Posts: 32
- Joined: Fri Jan 21, 2005 9:32 pm
- Location: Genoa (Italy)
Lock FPS
Is there a way to lock the framerate to a value?
Here's the code:
Set the VSync as "true" and your app will draw max the amount you monitor can handle (usually 60).
Edit: Important to notice that its the MAX fps so its isn't locked at the amount your monitor can handle, that's just the roof!
Code: Select all
IrrlichtDevice *device = createDevice(GameRenderer, GameResolution, GameDepth, FullScreen, StencilBuffer, VSync, &receiver);
Edit: Important to notice that its the MAX fps so its isn't locked at the amount your monitor can handle, that's just the roof!
Call me Wice, Miami Wice!