Sign in to follow this  

[D3D11] VSync needs recreate swap chain ?

Recommended Posts

Hi all,

here the doc of Present :

Presents a rendered image to the user.

HRESULT Present([in]  UINT SyncInterval,[in]  UINT Flags);

SyncInterval [in] : 

  • 0 - The presentation occurs immediately, there is no synchronization.
  • 1,2,3,4 - Synchronize presentation after the nth vertical blank.


using : 
sd.BufferDesc.RefreshRate.Numerator = 60;
sd.BufferDesc.RefreshRate.Denominator = 1;
and just switch on the present function from 0 to 1 without recreate the swap chain looks good when I show FPS using fraps.
Now the question is : "Is it bad to do the vsync feature like that ?".


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this