Direct3D Crashing

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Blynx
Posts: 16
Joined: Sat Apr 12, 2008 8:41 am

Direct3D Crashing

Post by Blynx »

If I try to use Direct3D9 or Direct3D8, it crashes the program, can anyone help me fix that?
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Your debugger should tell you exactly what is going on.

Sight unseen, I'll guess that you're using an Irrlicht DLL that doesn't have DX8/DX9 support compiled in (Win32-gcc), and you're not checking the return value of createDevice() before using it.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

If you do a search for IrrDX, probably in the snippets or faq forums, then you'll find a thread which is constantly updated with the latest version of the irrlicht.dll with DX support compiled in.
Image Image Image
Gianni
Posts: 48
Joined: Sat Mar 22, 2008 9:24 am

Post by Gianni »

But use EDT_OPENGL, i do so :D
Post Reply