I get the following errors in the debug pane in my DirectX 11 based application, which only show up on exit.
This only happens in full screen mode.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067AA20.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067B63C.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067B898.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067BA50.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067AA20.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067B63C.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067B898.
Exception thrown at 0x74DB3E28 in DirectX11.exe: Microsoft C++ exception: _com_error at memory location 0x0067BA50.
Windowed mode has no errors at all.
The only difference in my code (for either mode) is the following;
swapChainDesc.Windowed = true; // or false
So, I am at a loss as to why this issue may be happening.I read that if you are in full screen mode you need to do the following before clean up. But this doesn't seem to have an effect on the problem.
d3dSwapChain->SetFullscreenState(FALSE, NULL);
Any ideas would be awesome