---
name: "glListBase"
section: "3x"
platform: "linux"
package: "xlibmesa-gl-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/glListBase"
---

# glListBase(3x)

set the display-list base for glCallLists

## 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**

## SEE ALSO

**glCallLists(3G)**
