I am trying to use the gluTess functions to tesselate the concave polygons I have and render them correctly. I have arranged it such that in the Vertex Callback I get the vertex index since I am drawing an indexed polygon.
Now if I tesselate a rectangle, I should be getting 6 callbacks for the 2 triangles resulting from the tesselation. I am getting only 4. Can someone please tell me what I might be doing wrong?