Page 1 of 1

about new driverChoice.h

Posted: Thu Aug 03, 2017 9:12 am
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.

Re: about new driverChoice.h

Posted: Thu Aug 03, 2017 9:27 am
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.

Re: about new driverChoice.h

Posted: Fri Aug 04, 2017 8:21 am
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 ).