Why is D3D10SDKLayers.dll loaded during my DX11 game?

前端 未结 1 1232
独厮守ぢ
独厮守ぢ 2021-01-19 16:52

SEE EDIT UPDATES BELOW. Original question has been modified!

I have a working window that uses a DX11 device. My problem comes along when I try to go fullscreen usin

相关标签:
1条回答
  • 2021-01-19 17:26

    I resolved this problem by taking out the key hook entirely. The proper way to handle Alt+Enter is to create your swap chain, then call IDXGIFactory1::MakeWindowAssosciation( m_hWnd, DXGI_MWA_NO_ALT_ENTER). Then you can handle Alt+Enter with your own code from your windows message procedure using WM_SYSKEYDOWN and WM_KEYUP. I hope this helps others! I had a hell of a time getting this to work, so if you are having a hard time getting it to work in your own app, send me a message and I'll try to help you!

    0 讨论(0)
提交回复
热议问题