Does opengl automatically delete texture objects when the window they are created in is closed?
nope, as far as i know