Slow code?

Blitz3D Forums/Blitz3D Beginners Area/Slow code?

Flip will wait for the next Vsync. So it waits max. 17 milliseconds when your monitor is set to 60Hz refresh-rate.
Depending on the number of Flip calls this may take a while.

You can use "Flip 0", this will not wait for the vsync, but flip backbuffer and frontbuffer immediately, regardless of any unsynced look.