From 77dcf82d8182625d139638c858c4157a7ce8b1b9 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Tue, 14 Sep 1999 05:37:58 +0000 Subject: Fixed legacy gluNextContour impact on gluTessEndContour. --- src/glu/mesa/tess.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/glu/mesa/tess.c') diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c index 52353d9798d..fc24fb99e3d 100644 --- a/src/glu/mesa/tess.c +++ b/src/glu/mesa/tess.c @@ -1,4 +1,4 @@ -/* $Id: tess.c,v 1.4 1999/09/13 22:20:13 gareth Exp $ */ +/* $Id: tess.c,v 1.5 1999/09/14 05:37:58 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -26,6 +26,9 @@ /* * $Log: tess.c,v $ + * Revision 1.5 1999/09/14 05:37:58 gareth + * Fixed legacy gluNextContour impact on gluTessEndContour. + * * Revision 1.4 1999/09/13 22:20:13 gareth * Fixed file headers. Tracking down macro bugs. * @@ -290,6 +293,10 @@ void GLAPIENTRY gluTessEndContour( GLUtesselator *tobj ) { inspect_current_contour( tobj ); } + else + { + delete_current_contour( tobj ); + } cleanup: return; -- cgit v1.2.3