Deletes a contiguous group of display lists.
OpenGL C bindings library: libGL.a
void glDeleteLists(GLunint List, GLsizei Range)
List | Specifies the integer name of the first display list to delete. |
Range | Specifies the number of display lists to delete. |
The glDeleteLists subroutine causes a contiguous group of display lists to be deleted. The List parameter is the name of the first display list to be deleted, and the Range parameter is the number of display lists to be deleted. All display lists d with List <= d <= List + Range - 1 are deleted.
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 (zero), nothing happens.
GL_INVALID_VALUE | Range is negative. |
GL_INVALID_OPERATION | The glDeleteLists subroutine is called between a call to glBegin and the corresponding call to glEnd. |
/usr/include/GL/gl.h | Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
The glBegin or glEnd subroutine, glCallList subroutine, glCallLists subroutine, glGenLists subroutine, glIsList subroutine, glNewList subroutine.