summaryrefslogtreecommitdiff
path: root/src/glu/mesa
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>1999-09-14 05:37:58 +0000
committerGareth Hughes <gareth@valinux.com>1999-09-14 05:37:58 +0000
commit77dcf82d8182625d139638c858c4157a7ce8b1b9 (patch)
tree95a917677f67472754a998b620015a1bd3c8f653 /src/glu/mesa
parent49e0bc42e2328c81265707404e2321c3cd88e150 (diff)
Fixed legacy gluNextContour impact on gluTessEndContour.
Diffstat (limited to 'src/glu/mesa')
-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 52353d9798..fc24fb99e3 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;