diff options
author | Gareth Hughes <[email protected]> | 1999-10-13 19:01:56 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 1999-10-13 19:01:56 +0000 |
commit | 206abd90395cf806c414192ac60aaee260853e76 (patch) | |
tree | 201d5224a63e8d43a014981f0efa38baa082a5ce /src/glu/mesa/tess.c | |
parent | 80af3614d88c0cac160e787de7f34b37e96cb626 (diff) |
Added edge flag callback support.
Diffstat (limited to 'src/glu/mesa/tess.c')
-rw-r--r-- | src/glu/mesa/tess.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c index 6e65f02d926..73765fbbf57 100644 --- a/src/glu/mesa/tess.c +++ b/src/glu/mesa/tess.c @@ -1,4 +1,4 @@ -/* $Id: tess.c,v 1.15 1999/10/12 21:26:06 gareth Exp $ */ +/* $Id: tess.c,v 1.16 1999/10/13 19:02:20 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -26,6 +26,9 @@ /* * $Log: tess.c,v $ + * Revision 1.16 1999/10/13 19:02:20 gareth + * Added edge flag callback support. + * * Revision 1.15 1999/10/12 21:26:06 gareth * Fixed delete_all_contours memory deallocation. * @@ -144,6 +147,7 @@ GLUtesselator* GLAPIENTRY gluNewTess( void ) #endif tobj->cvc_lists = NULL; tobj->data = NULL; + tobj->edge_flag = GL_FALSE; tobj->label = 0; tobj->error = GLU_NO_ERROR; @@ -193,8 +197,10 @@ void GLAPIENTRY gluTessBeginPolygon( GLUtesselator *tobj, void *polygon_data ) tess_cleanup( tobj ); } - tobj->data = polygon_data; tobj->vertex_count = 0; + tobj->data = polygon_data; + tobj->edge_flag = GL_FALSE; + tobj->label = 0; DEBUGP( 15, ( "<- gluTessBeginPolygon( tobj:%p data:%p )\n", tobj, polygon_data ) ); } |