Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


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