Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: gluNewQuadric(...)

  1. #1
    Intern Contributor
    Join Date
    Jan 2002
    Posts
    52

    gluNewQuadric(...)

    I've just finished the NeHe tutorial on quadrics and noticed that the quadric object isn't deleted, ie gluDeleteQuadric(...) isnt called.

    Does it require explicit deletion like a dynamic object or can it be ignored?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: gluNewQuadric(...)

    Hi !

    It's just a memory area that is allocated so it's not a big deal, unless you allocate it many times, in that case you must delete it or you will start to eat up memory.

    Mikael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •