Jump to content
  • Advertisement
Sign in to follow this  
DarkRonin

Full screen / windowed question

This topic is 1573 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 Guys,

I see that DirectX 11 will automatically toggle between windowed and full screen mode by pressting Alt & Tab. Which is exactly what I want to do.

Is there a way to check if the application is currently windowed or full screen?

Thanks in advance smile.png

Share this post


Link to post
Share on other sites
Advertisement
Found it!

If anyone else is interested it is...

d3dSwapChain->GetFullscreenState()

smile.png

[edit]
Interesting to note that your application should be in windowed mode when releasing the swap chain. This explains why I was getting odd leaks, when I new my code wasn't (or shouldn't have been) leaking. So, fixed two issues in one today smile.png Edited by DarkRonin

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!