a boring problem

how can i delete a existing picture thoroughly?which function should i use???

Hi !

I think you need to give a little bit more details to get any help, what kind of “picture” are you talking about ?

OpenGL itself does not understand the “picture” concept, it has a frame buffer that you can clear with the glClear() function.

If you load any pictures from files and use those as textures you have to delete the textures wqith the correct command and so on, but all this depends on what you mean with “picture”