Page 1 of 1

Changing the D3D9 Device

Posted: Thu Dec 15, 2016 9:19 pm
by thestolenbattenberg
Hey,

Looking for a way to change the ''IDirect3DDevice9' and 'IDirect3D9' pointers to custom ones which I provide to Irrlicht, is this possible without messing with the source code of the engine? I don't really want to install all the required SDKs to compile the engine if the feature already exists.

Thanks,
- TSB.

Re: Changing the D3D9 Device

Posted: Thu Dec 15, 2016 9:24 pm
by CuteAlien
Hm, you can only access (SExposedVideoData), but you can't change it.
It's created in CD3D9Driver::initDriver and used immediately to initalize some stuff.