Hi
Quick question...I have a texture and sprite which I load from file and then draw, on start-up (like a splash screen). When these have been displayed, I can then safely remove the texture and sprite as it is never needed again.
My texture & sprite are part of my "graphics engine" and so exist until the class is destroyed at program exit. But I need the video memory that the texture will use....so how do I deallocate it when I've drawn it?
I can move the sf::Texture to be local to my "loading" function...but on exit of this, will the VRAM be released?
Thanks
Ed