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

Started by
1 comment, last by parnell 17 years, 11 months ago
I'm stuck at 60fps. Is there a way to set in Presentation Parameters to unlock vsync?
Advertisement
Set your presentation interval to Immediate. I don't know the syntax in MDX, but in unmanaged C++, it's pp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
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,
}
}

This topic is closed to new replies.

Advertisement