Looking for some testers

BlitzMax Forums/BlitzMax Programming/Looking for some testers

Hi Doug, yah I researched the vsync stuff and saw the same thing. What you could do is perhaps setup one more additional parameter on the Graphics() call, something like VsyncOn=1 or 0. And then add:

For vsync always on:
_PresentParams.PresentationInterval=D3DPRESENT_INTERVAL_ONE 

For vsync always off:
_PresentParams.PresentationInterval=D3DPRESENT_INTERVAL_IMMEDIATE

And then in the Flip command, you just call the swap chain without the additional timing handling you're doing. ;)

Awesome stuff Doug, thanks so much for your time on this! :)