Results 1 to 2 of 2

Thread: GL object destruction

  1. #1

    GL object destruction

    When an OpenGL context is lost when the host program ends or the context is disposed of by the host program, what becomes of the OpenGL objects held by that context (display lists, textures, etc)?

    I suppose they must be properly disposed of, but after glancing at the specification, I'm left wondering. Is it the programmer's responsibility to delete these objects, or will the graphics drivers do this automatically?

  2. #2
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    26

    Re: GL object destruction

    whenever in doubt, it is always much safer to do it on your own.(disclaimer: i am rather new at this so don't blame me if anything goes wrong)

Similar Threads

  1. Why is the OpenGL object creation/destruction model the way it is?
    By nikoniko in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-20-2017, 12:26 AM
  2. Destruction
    By OniDaito in forum OpenGL: General
    Replies: 4
    Last Post: 05-20-2011, 04:04 PM
  3. Shared objects destruction issue
    By lverneaut in forum OpenGL: Windows
    Replies: 0
    Last Post: 01-28-2010, 07:19 AM
  4. Bridge Building & Destruction
    By mrwonka in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-05-2004, 10:37 AM
  5. Release OpenGL before window destruction
    By gimp in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-23-2003, 11:53 PM

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