[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glListBase Subroutine


Sets the display-list base for the glCallLists subroutine.


OpenGL C bindings library: libGL.a

C Syntax

void glListBase(GLuint Base)


Base Specifies an integer offset that is added to glCallLists offsets to generate display-list names. Initial value is 0 (zero).


The glCallLists subroutine specifies an array of offsets. Display-list names are generated by adding the Base parameter to each offset. Names that reference valid display lists are executed; the others are ignored.


GL_INVALID_OPERATION The glListBase subroutine is called between a call to glBegin and the corresponding call to glEnd.

Associated Gets

Associated gets for the glListBase subroutine are as follows. (See the glGet subroutine for more information.)

glGet with argument GL_LIST_BASE.


/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glBegin or glEnd subroutine, glCallLists subroutine.

OpenGL Overview.

[ Previous | Next | Contents | Glossary | Home | Search ]