glListBase  5GX8XI

[New - Windows 95, OEM Service Release 2]

The glListBase function sets the display list base for glCallLists.

void glListBase(

    GLuint base

 

   );

 

 

Parameters

base

An integer offset that will be added to glCallLists4Z_.R05 offsets to generate display list names. Initial value is zero.

 

Remarks

The glListBase function specifies an array of offsets. Display list names are generated by adding base to each offset. Names that reference valid display lists are executed; others are ignored.

The following function retrieves information related to glListBase:

glGet8KNKTW with argument GL_LIST_BASE

 

Error Codes

The following are the error codes generated and their conditions.

Error Code

Condition

GL_INVALID_OPERATION

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

 

See Also

glBegin, glCallLists, glEnd