Jump to content

  • Log In with Google      Sign In   
  • Create Account

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   Members   

1080
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
Win32 Developer
One Of Them - Martial arts game that is mid development.

#2   Members   

1080
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.

Win32 Developer
One Of Them - Martial arts game that is mid development.




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.