1GLCALLLIST(3G)                                                  GLCALLLIST(3G)
2
3
4

NAME

6       glCallList - execute a display list
7
8

C SPECIFICATION

10       void glCallList( GLuint list )
11
12

PARAMETERS

14       list  Specifies the integer name of the display list to be executed.
15

DESCRIPTION

17       glCallList  causes the named display list to be executed.  The commands
18       saved in the display list are executed in order, just as if  they  were
19       called without using a display list.  If list has not been defined as a
20       display list, glCallList is ignored.
21
22       glCallList can appear inside a display list.  To avoid the  possibility
23       of infinite recursion resulting from display lists calling one another,
24       a limit is placed on the nesting level of display lists during display-
25       list  execution.   This  limit  is  at  least 64, and it depends on the
26       implementation.
27
28       GL state is not saved and restored across a call to glCallList.   Thus,
29       changes  made to GL state during the execution of a display list remain
30       after execution of the display list is  completed.   Use  glPushAttrib,
31       glPopAttrib,  glPushMatrix, and glPopMatrix to preserve GL state across
32       glCallList calls.
33

NOTES

35       Display lists can be executed between a call to glBegin and the  corre‐
36       sponding  call to glEnd, as long as the display list includes only com‐
37       mands that are allowed in this interval.
38

ASSOCIATED GETS

40       glGet with argument GL_MAX_LIST_NESTING
41       glIsList
42

SEE ALSO

44       glCallLists(3G),  glDeleteLists(3G),   glGenLists(3G),   glNewList(3G),
45       glPushAttrib(3G), glPushMatrix(3G)
46
47
48
49                                                                GLCALLLIST(3G)
Impressum