Hi,
We run a program that time to time crashes here:
In cd3d9driver.cpp line 741
if (texture && texture->getDriverType() != EDT_DIRECT3D9)
"if (texture && texture->getDriverType() != EDT_DIRECT3D9)
> Irrlicht.dll!irr::video::CD3D9Driver::setTexture(int stage=0, irr::video::ITexture * texture=0x057794e0) Line 741 + 0x13 C++"
Any Idea ?
Thanks
Crash in: cd3d9driver.cpp
It looks like the texture pointer texture that is passet to setTexture() is invalid. i.e. it points to a texture that has been unloaded or otherwise destroyed.
Are you removing textures from the texture cache, or maybe calling drop() on texture pointers? You shouldn't drop() a texture unless you have explicitly called grab() on it. If you have removed the textures from the cache, but haven't grabbed them, are you making absolutely sure that no scene node materials reference those textures?
Travis
Are you removing textures from the texture cache, or maybe calling drop() on texture pointers? You shouldn't drop() a texture unless you have explicitly called grab() on it. If you have removed the textures from the cache, but haven't grabbed them, are you making absolutely sure that no scene node materials reference those textures?
Travis