glListBase
The glListBase function sets the display list base for glCallLists.
void glListBase(
GLuint base);
Parameters
- base
An integer offset that will be added to glCallLists 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:
glGet with argument GL_LIST_BASE
Error Codes
The following is the error code and its condition.
Error code | Condition |
---|---|
GL_INVALID_OPERATION | glListBase was called between a call to glBegin and the corresponding call to glEnd. |
Requirements
** Windows NT/2000:** Requires Windows NT 3.5 or later.
** Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
** Header:** Declared in Gl.h.
** Library:** Use Opengl32.lib.