On my system, it appears that `Flip` by itself will run at approximately a smooth 60Hz but there will be vertical tearing, whilst `Flip 1` fixes the tearing. Is this normal? From the definition in the docs, Flip by itself defaults to -1 which means it syncs to the refresh rate but not necessarily synchronized with the vertical blank?
Anyway, the demo's that come with MiniB3D all have Flip and not Flip 1, which means they all have vertical tearing, for me anyway. I change them all to Flip 1.
From the docs:
Function Flip( sync=-1 )
Description Flip current graphics object.
Information Flip swap the front and back buffers of the current graphics objects.
If sync is 0, then the flip occurs as soon as possible. If sync is 1, then the flip occurs on the next vertical blank.
If sync is -1 and the current graphics object was created with the Graphics command, then flips will occur at the graphics object's refresh rate regardless of whether or not the graphics hardware supports such a refresh rate.
If sync is -1 and the current graphics object was NOT created with the Graphics command, then the flip will occur on the next vertical blank.
Anyway, the demo's that come with MiniB3D all have Flip and not Flip 1, which means they all have vertical tearing, for me anyway. I change them all to Flip 1.
From the docs:
Function Flip( sync=-1 )
Description Flip current graphics object.
Information Flip swap the front and back buffers of the current graphics objects.
If sync is 0, then the flip occurs as soon as possible. If sync is 1, then the flip occurs on the next vertical blank.
If sync is -1 and the current graphics object was created with the Graphics command, then flips will occur at the graphics object's refresh rate regardless of whether or not the graphics hardware supports such a refresh rate.
If sync is -1 and the current graphics object was NOT created with the Graphics command, then the flip will occur on the next vertical blank.