glIsList function

The gllsList function tests for display list existence.

Syntax

GLboolean WINAPI glIsList(
   GLuint list
);

Parameters

list

A potential display list name.

Error codes

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

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

Remarks

The gllsList function returns GL_TRUE if list is the name of a display list and returns GL_FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Gl.h
Library
Opengl32.lib
DLL
Opengl32.dll

See also

glBegin

glCallList

glCallLists

glDeleteLists

glEnd

glGenLists

glNewList