Jump to content
  • Advertisement
Sign in to follow this  
jeffreyp23

Debugging DirectX 11 in a console application

This topic is 2533 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!