When I load textures using gluBuild2DMipmaps or glTexImage2D, this texture is stored in video memory if i am correct.
Now when I finish my program, how do I unload these textures from video memory???
When I load textures using gluBuild2DMipmaps or glTexImage2D, this texture is stored in video memory if i am correct.
Now when I finish my program, how do I unload these textures from video memory???
You can delete textures with glDeleteTextures…
Cheers