PDA

View Full Version : Reusing lists? (glNewList more than once)



jameswh
06-17-2010, 08:11 AM
Sorry for the repost, but I got no reply in the beginner forum, so I guess this question is more advanced than I thought :)
---

Hi

Im not clear from the specifications if it is allowed to call glNewList more than once following glGenLists. Basically from time to time I would like to recompile lists (to change the content), without having to realloc.

This would make a big difference to my design as it seems glNewList + COMPILE is fast, whereas glGenLists + glDeleteLists is relatively expensive (understandably).

Does anyone know what the official spec is here?

thanks in advance!

strattonbrazil
06-17-2010, 01:19 PM
You can call glNewList on the same generated list without any problems.