Debugging DirectX 11 in a console application

Started by
-1 comments, last by jeffreyp23 12 years, 3 months ago
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 : )

This topic is closed to new replies.

Advertisement