PDA

View Full Version : gluNewQuadric(...)



endo
12-31-2001, 10:44 AM
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?

mikael_aronsson
01-01-2002, 07:28 AM
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