View Full Version : how to free texture memory?

05-27-2002, 12:37 AM
i've just been around some NeHe's tuts and in no one of them i saw freeing OpenGL texture memory, so it must be done when closing OpenGL context, but what to do if i want to load 1000 textures one by one (don't need more than one at the same time)?? - my video card memory is not sufficient to shelter 1000*256*256*32 bits....

how do i delete[] my OpenGL textures?

thank you guys

05-27-2002, 02:15 AM
Textures are deleted with glDeleteTexture.