Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Full screen / windowed question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 DarkRonin   Members   -  Reputation: 667

Like
0Likes
Like

Posted 03 July 2014 - 12:54 AM

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

Sponsor:

#2 DarkRonin   Members   -  Reputation: 667

Like
4Likes
Like

Posted 03 July 2014 - 01:00 AM

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, 03 July 2014 - 01:07 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS