Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entering fullscreen mode will crash #1

Open
discosultan opened this issue Aug 22, 2016 · 7 comments
Open

Entering fullscreen mode will crash #1

discosultan opened this issue Aug 22, 2016 · 7 comments
Labels

Comments

@discosultan
Copy link
Owner

discosultan commented Aug 22, 2016

Entering fullscreen mode using ALT+ENTER will crash any sample. This is also an issue in the original C++ samples: d3dcoder/d3d12book#2

@WaltN
Copy link

WaltN commented Feb 21, 2017

I tried just intercepting the Alt+Enter event in D3DApp::MsgProc. It's as though something else processes the Alt+Enter event, not letting me get my hands on it.

@discosultan
Copy link
Owner Author

There's a bit of magic going on as Alt+Enter is something that the implementation of IDXGISwapChain handles internally.

Here are a couple of references for more information:

@discosultan
Copy link
Owner Author

No longer seems to be a problem. Might have been related to drivers.

@WaltN
Copy link

WaltN commented Apr 30, 2017

Still fails the same way for me. I tried Crate. And I'm right up to speed with my Nvidia drivers -- Geforce 381.89.

@discosultan discosultan reopened this Apr 30, 2017
@discosultan
Copy link
Owner Author

Not sure what's causing this - works without warnings for me.

@HeitorCabral
Copy link

I decided to change WindowForm to UserControl and then added UserControl to WindowForm.

@moonwho101
Copy link

Maximize the screen, then press ALT+ENTER. It defaults to trying to set the screen resolution to the window size - which does not always work.

@github-staff github-staff deleted a comment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
@discosultan @WaltN @HeitorCabral @moonwho101 and others