Detect Vertical Blank

BlitzMax Forums/BlitzMax OpenGL Programming/Detect Vertical Blank

Unfortunately that still causes tearing. Sure, I can flip 60 or 30 or 15 times per second (assuming 60 hz), but there is no guarantee that my custom 'flip timer' will fire in sync with the VBL. The phase shift between the two leads to tearing.