diff options
Diffstat (limited to 'src/glu/mesa/tess.c')
-rw-r--r-- | src/glu/mesa/tess.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c index 029c82f2d4f..202aee4dd1b 100644 --- a/src/glu/mesa/tess.c +++ b/src/glu/mesa/tess.c @@ -1,4 +1,4 @@ -/* $Id: tess.c,v 1.11 1999/10/11 17:26:48 gareth Exp $ */ +/* $Id: tess.c,v 1.12 1999/10/11 17:48:53 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -26,6 +26,9 @@ /* * $Log: tess.c,v $ + * Revision 1.12 1999/10/11 17:48:53 gareth + * Correctly initialized GLUtesselator user data pointer. + * * Revision 1.11 1999/10/11 17:26:48 gareth * Updated debugging output. I'm going to change it all to something * much more like the GLX project. This was a set of macros left over @@ -182,7 +185,8 @@ void GLAPIENTRY gluTessBeginPolygon( GLUtesselator *tobj, void *polygon_data ) tess_cleanup( tobj ); } - tobj->user_data = polygon_data; + tobj->data = polygon_data; + tobj->vertex_count = 0; DEBUGP( 15, ( "<- gluTessBeginPolygon( tobj:%p data:%p )\n", tobj, polygon_data ) ); } |