• Advertisement
Sign in to follow this  

Debugging DirectX 11 in a console application

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

Hello guys,

I can't seem to get debug output from Direct X11 even with the correct settings :
[source]

if(FAILED(D3D11CreateDeviceAndSwapChain(NULL,
D3D_DRIVER_TYPE_HARDWARE,
NULL,D3D11_CREATE_DEVICE_DEBUG,
NULL,
NULL,
D3D11_SDK_VERSION,
&scd,
&m_pSwapChain,
&m_pDevice,
NULL,
&m_pContext))){
MessageBoxW(NULL, L"Failed to create a DirectX device. Check if your computer is DirectX 11 compatible",
L"Fatal error", MB_OK);
return E_FAIL;
}
[/source]

Or cant you get debug output when using a console project?(I doubt this)

Thanks : )

Share this post


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

  • Advertisement