Jump to content

  • Log In with Google      Sign In   
  • Create Account


Full screen / windowed question

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

#1 DarkRonin   Members   -  Reputation: 604

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: 604

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.






PARTNERS