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.

about new driverChoice.h

Postby AReichl » Thu Aug 03, 2017 9:12 am

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

Re: about new driverChoice.h

Postby CuteAlien » Thu Aug 03, 2017 9:27 am

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.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8255
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: about new driverChoice.h

Postby AReichl » Fri Aug 04, 2017 8:21 am

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


Return to Bug reports

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron