I've found a few problems when using Irrlicht, firstly with dynamically loading and unloading the irrlicht dll at run time.
It seems like Irrlicht doesn't properly Unregister its window classes or ( I think ) destroy windows in all situations. As it stands Irrlicht bombs out when creating the window or calling GetDC functions.
I also noticed another intermittent problem, most of the time the first texture I created would be draw as solid white. It looks like you're not binding the texture before creating the texture data.
I've patched Irrlicht 1.7.1, and uploaded these various patches here;
patches
[fixed]Irrlicht doesn't destroy handles + OpenGL textures.
You mean I diffed the files the wrong way round? Apologies for that.hybrid wrote:Yes, the unregister seem to be missing. Though you made the patches the wrong way.
Hm o.k. I'll take another look with the current version of trunk and see if I still get the same behaviour. If so I'll try and track down the proper cause, but I'm not sure what else could create an all white texture ( but not every time ).hybrid wrote:However, the texture is correctly bound all the time, check setActiveTexture