Advertisement

Display Lists

Started by February 11, 2003 05:30 PM
1 comment, last by jverkoey 22 years ago
Is it not proper opengl coding to call one list from another?, for example, calling glList(block); would call the list block, but inside of list block, there are calls to other lists.... [edited by - jverkoey on February 11, 2003 6:30:40 PM]
It is allowed, but there is a nesting limit that is used to prevent infinite recursive calls.

Copied from this page :
quote:

glCallList can appear inside a display list. To avoid the
possibility of infinite recursion resulting from display
lists calling one another, a limit is placed on the nesting
level of display lists during display-list execution. This
limit is at least 64, and it depends on the implementation.
Advertisement
thanks

This topic is closed to new replies.

Advertisement