Export (0) Print
Expand All
Expand Minimize

glDeleteLists function

Applies to: desktop apps only

The glDeleteLists function deletes a contiguous group of display lists.

Syntax

void WINAPI glDeleteLists(
  GLuint list,
  GLsizei range
);

Parameters

list

The integer name of the first display list to delete.

range

The number of display lists to delete.

Return value

This function does not return a value.

Error codes

The following error codes can be retrieved by the glGetError function.

NameMeaning
GL_INVALID_VALUE

range was negative.

GL_INVALID_OPERATION

The function was called between a call to glBegin and the corresponding call to glEnd.

Remarks

The glDeleteLists function 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 range is the number of display lists to delete. All display lists d with listdlist + 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 zero, nothing happens.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Gl.h

Library

Opengl32.lib

DLL

Opengl32.dll

See also

glBegin
glCallList
glCallLists
glEnd
glGenLists
glIsList
glNewList

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft