Jump to content


Direct3D9 VSync


  • You cannot reply to this topic
2 replies to this topic

#1 dega512

    Valued Member

  • Members
  • PipPipPip
  • 108 posts

Posted 27 March 2006 - 02:37 PM

I have tried searching google for turning on vsync in Direct3D9 but I can't seem to find out how to do it. So with that said, does anyone know how to do it :worthy:?

#2 Mjolnir

    Member

  • Members
  • PipPip
  • 42 posts

Posted 27 March 2006 - 03:09 PM

D3DPRESENT_PARAMETERS d3dpp;

// on

d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT;

// off

d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
See the details: D3DPRESENT

#3 dega512

    Valued Member

  • Members
  • PipPipPip
  • 108 posts

Posted 28 March 2006 - 01:27 AM

Wow that easy eh? Thanks a ton!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users