Results 1 to 3 of 3

Thread: cleaning up GL

  1. #1
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    los angeles

    cleaning up GL

    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?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001

    Re: cleaning up GL

    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.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Vancouver BC Canada

    Re: cleaning up GL

    It's just good programming practice to always clean up, no matter what.

    It's a good habit to get into.

Similar Threads

  1. Cleaning up my OpenGL program
    By Slookeur in forum OpenGL: Linux
    Replies: 2
    Last Post: 10-12-2016, 03:30 AM
  2. Problem cleaning stencil buffer
    By nachovall in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-21-2010, 07:40 AM
  3. Replies: 5
    Last Post: 01-15-2004, 02:27 PM
  4. how to draw on the screen without cleaning others drawn object..?
    By tranckhanh in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-28-2001, 06:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean