   display lists
  Hi,Im making a display list but im having some troubleThis is how I create it:snowfieldDL = glGenLists(1);glNewList(snowfieldDL, GL_COMPILE);/*glEnable(GL_TEXTURE_2D);glBindTexture(GL_TEXTURE_2D, snowTextures.data[0]);*/for(int z = 0; z < depth-1; z++){glBegin(GL_TRIANGLE_STRIP);for(int x = 0; x < width; x++){int ind1 = (z+1)*width + x;int ind2 = z*width + x;Vector n1 = vertexNormals[ind1];Vector n2 = vertexNormals[ind2];glNormal3f(n1.getX(), n1.getY(), -n1.getZ()); glVertex3f(x*scale, (getHeight(x, z+1)/255.0)*maxHeight, -(z+1)*scale);glNormal3f(n2.getX(), n2.getY(), -n2.getZ()); glVertex3f(x*scale, (getHeight(x, z)/255.0)*maxHeight, -z*scale);}glEnd();}glEndList()This is how I call it:glCallList(snowfieldDL);But when I run it I get the error:GL_INVALID_VALUE everytime it tries to render. Wat am I doing wrong?   