glIsList  9KMRSH

[New - Windows 95, OEM Service Release 2]

The gllsList function tests for display list existence.

GLboolean glIsList(

    GLuint list

 

   );

 

 

Parameters

list

A potential display list name.

 

Remarks

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

Error Codes

The following are the error codes generated and their conditions.

Error Code

Condition

GL_INVALID_OPERATION

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

 

See Also

glBegin, glCallList, glCallLists, glDeleteLists, glEnd, glGenLists, glNewList