   Enable VSync using DirectX? (Unsolved)
  I forget how I used to do this isn't there a way through DirectX code to enable and disable VSync? I did it once before I think I just can't remember how. I'll keep searching around though until someone comes up with it or I find it. [grin][Edited by - GDKnight on December 15, 2005 9:46:17 AM]
  Look at the D3DPRESENT flags. It gives you a few options such as D3DPRESENT_INTERVAL_ONE (The driver will wait for the vertical retrace period (the runtime will "beam follow" to prevent tearing)). which is what you want. You set it when you set your presentparameters and create your device.I hope this helps.Take care.   ;  I did that it works quite well in windows mode in fact I have had vsync enabled and when I turned it off it went from like 60-500fps.Which is awesome, now I have a new question when I turned off vysnc. Then compiled it into a release mode and ran it with full screen. It tended to have periods in which it would badly slow down, like lag.Any idea what could be causing that?   