FPS Capped to monitors refresh rate.

Archives Forums/Blitz3D SDK Programming/FPS Capped to monitors refresh rate.

monotonic(Posted 2008) [#1]
Hi,

Like the title states the FPS is capped to my monitors refresh rate. How would I go about changing this? i.e. disable VSync

I realise that rendering the scene faster than the monitor refreshes is pointless but, to be able to update game logic faster than 60Hz would be nice. This would also allow me to judge how far I'm pushing my engine. Because at the minute all I have is 60FPS so I add a load of stuff and it still says 58-60, so it would be nice to be able to see if the framerate drops considerably or not.


Edit: Ok, I just figured it out. It truly is amazing what you can do when you engage brain before typing, DOH!

Just incase any other newbie like me has this problem, you can enable/disable VSync by passing True or False into the Flip function call.