Is there a way to have OpenGL triangulate (using gluTessVertex et al.) contours and stuff the output into an indexed vertex array?

(just hoping)