Freeing up Sprites

Blitz3D Forums/Blitz3D Programming/Freeing up Sprites

PaulJG(Posted 2003) [#1]
I want to delete some of the sprites I've created using the LOADSPRITE command.

I think I just use the 'freeentity' command to delete the object, but what about the texture it must have loaded somewhere in memory ?.


TeraBit(Posted 2003) [#2]
I think that when all the references to the texture are unloaded (this is for automatically loaded textures, rather than explicitly loaded ones) the texture is cleared automatically.