about new driverChoice.h

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
AReichl
Posts: 268
Joined: Wed Jul 13, 2011 2:34 pm

about new driverChoice.h

Post by AReichl »

Hi,

this probably is not really a bug, but i would like to mention it.

With the new driverChoice.h, which only shows drivers that are actually compiled into the engine,
i don't see DirectX9 any more ( with gcc/MinGW ), unless i #define

IRR_COMPILE_WITH_DX9_DEV_PACK

( and maybe also NO_IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ depending on your needs)
in my project.

Before this was not obvious, because driverChoice showed ALL possible drivers.
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: about new driverChoice.h

Post by CuteAlien »

Hm, I'm not on Windows right now. Can you use D3D9 when compiling without that define? The driverChoice uses the IrrlichtDevice::isDriverSupported function internally. So if the driver could be used then I guess we have to rewrite that function as well.

Old driverChoiceConsole was called with allDrivers enabled because disabling that flag was simply broken before.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
AReichl
Posts: 268
Joined: Wed Jul 13, 2011 2:34 pm

Re: about new driverChoice.h

Post by AReichl »

It behaves differently between VisualStudio and gcc/MinGW. I will try to figure it out.
Ignore it until i report again ( hopefully with a solution ).
Post Reply