Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Debugging DirectX 11 in a console application


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Jeffreyp   Members   -  Reputation: 178

Like
0Likes
Like

Posted 12 January 2012 - 12:41 PM

Hello guys,

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



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;

}



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

Thanks : )

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS