Jump to content
  • Advertisement
Sign in to follow this  
parnell

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

This topic is 4420 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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;

Share this post


Link to post
Share on other sites
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!