View Full Version : cleaning up GL

05-15-2001, 02:27 PM
How important is it to delete textures and display lists from the GL after the program finishes? I'm sorta used to the computer doing all the necessary clean-up from programs, but windows is sorta new to me. Should I go and make sure things get tossed when I'm done? If I don't does it degrade system performance? Or is there a single call to 'refresh' the GL?

05-15-2001, 07:48 PM
It depends on the drivers, but it is safest to delete your display lists and textures. If you don't, then you may be leaking driver/AGP/video memory.

05-15-2001, 08:09 PM
It's just good programming practice to always clean up, no matter what.

It's a good habit to get into.