Sign in to follow this  
parnell

[solved]how do i unlock vsync mdx in c#

Recommended Posts

COOL thx man, found it:
it's going to be

presentParams.PresentationInterval = PresentInterval.Immediate;


as defined below... hah thanks!

namespace Microsoft.DirectX.Direct3D
{
// Summary:
// Defines flags that describe the relationship between the adapter refresh
// rate and the rate at which Microsoft.DirectX.Direct3D.Device.Microsoft.DirectX.Direct3D.Device.Present()
// operations are completed.
public enum PresentInterval
{
Immediate = -2147483648,
Default = 0,
One = 1,
Two = 2,
Three = 4,
Four = 8,
}
}

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