I have been having some problems with my openGL application running out of memory and I am trying to track down my problem. To this end, I created a small test program that bas
I think you could try to push an empty image to the texture you want to delete by using glTexImage2d/3d. It worked for me with VBO's - I get rid of the data from the graphic cards by removing a buffer data using glBufferData and passing an empty array handle, because the glDeleteBuffers didn't removed the data by itself.