Jump to content
  • Advertisement
Sign in to follow this  
Login

[DirectX 9] Changing windowsed mode while running application

This topic is 2597 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

Hi!

I would like to changing fullscreen window in my DX9 Application while running.
Normally to set fullscreen mode I turn it on by "Windowed = FALSE" in D3DPRESENT_PARAMETERS struct. But I did it while initialize my D3Ddevice.
How I can switching between fullscreen mode while running application ? Again creating D3Device with opposite value in "Windowsed" ?

Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Look for the Reset call. You can supply a new set of present parameters to it and specify the changes you need in them. Be aware that you'll have to release any default pool resources before resetting (and recreate them again after) though.

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!