Hi everybody!

I'm currently working with the GLU tesselator and I need the ability to abort a tesselation process at any state, as fast as possible (so calling gluTessEndPolygon is not an option). Additionally i would like to be able to re-use the GLUtesselator object afterwards.

Is the following addition to the API sufficient to do that, or am I missing something?

/* glu.h */
GLAPI void GLAPIENTRY gluTessAbort (GLUtesselator* tess);

/* tess.c */
void GLAPIENTRY
gluTessAbort( GLUtesselator* tess )
{
    MakeDormant( tess );
}

--Lukas
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to