Freeing textures after you apply them to a mesh..

Blitz3D Forums/Blitz3D Programming/Freeing textures after you apply them to a mesh..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I noticed a long time ago that if you free a texture after you've already applied it to a mesh, then the mesh still remains textured, but I assume the some memory is freed?

for example:
tex = loadtexture("texture.bmp")
entitytexture mesh1, tex
freetexture tex

tex = loadtexture("somethingelse.bmp")
entitytexture AnotherMesh, tex
freetexture tex

is it bad practice to do this?