How to enable vsync in DirectX10

I am working on DirectX10 based applications using SlimDX. I would like to enable vsync, similar to DirectX9, but fps doesn't seem to block up to 60 Hz (what happens if I use Direct9). I install vsync using this

SwapChain.Present(1, PresentFlags.None);

Did I do something wrong?

By the way, I am running Win7 with an ATI HD5570 graphics card. After some googling, I understand that ATI can force vsync in certain games. So I wonder if this is related.

A link to C ++ code will also work. I will translate it myself.

thank

+3
source share
2 answers

SwapChain.Present syncInterval. 0 , , . , . :

SwapChain.Present(0, PresentFlags.None);
+1

vsync Catalyst Control Center

enter image description here

0

Source: https://habr.com/ru/post/1754905/


All Articles