PDA

View Full Version : a boring problem



thunder2001
06-07-2004, 02:51 AM
how can i delete a existing picture thoroughly?which function should i use????

mikael_aronsson
06-07-2004, 03:34 AM
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"

Mikael