Hi guys,
this question maybe stupid, but I must know...
I'm not an expert coder,so I try to get (modifying the engine)
a pointer to the pD3DDevice created by Irrlicht.
In my program I get a pointer to the device,
but when I try to use some method from this,
my prog crashes....
I want a pointer to the device to implements some custom function.
Please help me!
thanks
D3D9 device pointer
I've create a method in video namespace that return a
D3D9Device pointer calling "return pD3D9Device".
After that, I've modified the IVideoDriver header with the new method.
In my main function I've tried to call this method,
and after , with my new pointer, the methods ->beginScene() & endScene()
with present().
It compile,
but crashes at BeginScene() point.
D3D9Device pointer calling "return pD3D9Device".
After that, I've modified the IVideoDriver header with the new method.
In my main function I've tried to call this method,
and after , with my new pointer, the methods ->beginScene() & endScene()
with present().
It compile,
but crashes at BeginScene() point.