Advertisement Jump to content
Sign in to follow this  
tom_mai78101

DirectX 11 refuses to stay in full screen mode: Has this been mentioned before?

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

This article is from the developer of VirtualDub, referenced from his blog. Source.

He mentioned the following quote:

I've been working on getting full-screen mode support into a Direct3D 11 based program, and in my opinion Microsoft got a little too fancy with their new full-screen support in the DirectX Graphics Infrastructure (DXGI) layer. The idea is that DXGI handles most of the work for you now, including setting the window mode, changing the window frame and size, etc. However, DXGI's automatic handling only really works when you've got something simple like a single overlapped window with a caption bar and menu. Throw in a status bar, a side panel, and other window decorations, and it becomes more of a headache.

If you're going through this yourself, let me drop you a hint now and save you some time: don't try to call IDXGISwapChain::SetFullscreenState(TRUE) on a swap chain whose output window is a child window. You can create a windowed swap chain that way, but if you try transitioning to full-screen mode you will get DXGI_ERROR_INVALID_CALL (887A0001). AFAIK this isn't documented, and the debug runtime wasn't spitting out a message either.
[/quote]

Has this been mentioend before?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!