CreateDevice Failed in DX8

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
minkyu kim
Posts: 1
Joined: Wed May 12, 2004 2:42 pm

CreateDevice Failed in DX8

Post by minkyu kim »

Hi.

I wanna use irrlicht in MFC, so edit CVideoDirectX8::initDriver that can receive HWND from client. In this case, I find some problem that IDirect3D8::CreateDevice is failed because fullscreen flag is FALSE, so width and height is not set.

Yes. This case is special, but in my opinion, it will be good that width and height have to be set whenever because in window mode width and height is no mean.

PS : I hope that irrlicht supports MFC & ATL. 8)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

No, it doesn't. :)
Post Reply