Hi, I have different displayLists (dL) to create, 8 lists have a own name, the work fine. Then I have a dynamic structure of dLs, they are stored in c-arrays. After i noticed that they are not shown, I made 2 dLs which differ in color and vertices.
drawRect:
glCallLists(2,GL_UNSIGNED_INT, test);
This is my list-array:
if(contentState[0] == 1)
{
glCallLists(contentCount,GL_FLOAT, curveList);
}
contentCount = 8 and the declaration is GLfloat curveList[20] curveList has 8 display indices.
I hope I made a mistake and you find it :)
Uwe