void glDeleteLists(GLuint list, GLsizei range)
list | Specifies the integer name of the first display list to delete. |
range | Specifies the number of display lists to delete. |
All storage locations allocated to the specified display lists are freed, and the names are available for reuse at a later time. Names within the range that do not have an associated display list are ignored. If range is 0, nothing happens.
GL_INVALID_OPERATION is generated if glDeleteLists is executed between the execution of glBegin and the corresponding execution of glEnd.