When we get texture handle from OpenGL API(like glGenTextures, glBindTexture, etc), who release these memory allocated for texture when we exit our application?
OpenGL video card like nVidia automatically release these memory background?
The nice thing to do is to call glDeleteTextures when your application closes, but the textures are “owned” by the opengl context so when that is closed the textures will be deleted… (with a little luck…)