How can I change an OpenGL function call in a display list that contains many other OpenGL function calls?
OpenGL display lists aren’t editable, so you can’t modify the call sequence in them or even see which calls are embedded in them. One way of creating a pseudo-editable display list is to create a hierarchical display list. (i.e., create a display list parent that contains calls to glCallList()). Then you can edit the display list by replacing the child display lists that the parent list references.