summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glu/mesa/tess.c9
1 files changed, 8 insertions, 1 deletions
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;