Light | Dark

# docs.GL

OpenGL 3
OpenGL 2

# glListBase

## Name

glListBase — set the display-list base for glCallLists

## C Specification

`void glListBase(` | GLuint | base`)`;

## Parameters

`base`

  Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0.

## Description

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

## Errors

`GL_INVALID_OPERATION` is generated if `glListBase` is executed between the execution of glBegin and the corresponding execution of glEnd.

## Associated Gets

glGet with argument `GL_LIST_BASE`

## Tutorials

## See Also

glCallLists

## Copyright

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see https://web.archive.org/web/20171022161616/http://oss.sgi.com/projects/FreeB/.

Think you can improve this page? Edit this page on GitHub.