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:
For vsync always off:
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! :)
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! :)