PDA

View Full Version : Taking textures out of vcard memory



11-09-2002, 05:04 PM
When I switch to a new level I don't need the old textures in vcard memory any longer. Is there a line of openGL code to tell it to take a texture with a certain ID out of video card memory? Or can I just rely on it to boot the stuff I'm not using when the other stuff starts getting used all the time?

Old GLman
11-09-2002, 05:49 PM
I believe glDeleteTextures will do what you want.

Old GLman

11-11-2002, 09:22 AM
Thanks, I don't even need that yet actually, it is unbelievably fast.