Friends
This is an opengl question.
I am trying to call opengl items using
glCallList(index)
While i was creating many objects I was holding their indices in an array and while I am trying to display one at a time by calling
glCallList(index); passing the index.
But its displaying the most recent object created.
While the index value is correct but its not displaying previousobjects.

Can anyone help me undertsnad whats going on !
Any help would be appraciated.

Thanks
sujan