glListBase function
The glListBase function sets the display list base for glCallLists.
Syntax
void WINAPI glListBase(
GLuint base
);
Parameters
-
base
-
An integer offset that will be added to glCallLists offsets to generate display list names. Initial value is zero.
Return value
This function does not return a value.
Error codes
The following error code can be retrieved by the glGetError function.
Name | Meaning |
---|---|
|
The function was called between a call to glBegin and the corresponding call to glEnd. |
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
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|