And is keeping the texture the third time ( device independently ) in the Image pointer.
The image pointer is useful for creating the direct x surface but after that i believe is completely useless. (i see that openGl is not keeping any image pointer ...)
I removed the Image->grab();
and
if (Image)
Image->drop();
The result is that the application is using now 200M (from 400M). And can run even on the systems on what it was beginning to have an very low fps ...
And no functionality seems to be affected. (alt+tab etc)
Please be free to verify if I'm right!
And now maybe i get credits in the irrlicht files for finding this bug. (if i'm right )
![Laughing :lol:](./images/smilies/icon_lol.gif)