Fixed legacy gluNextContour impact on gluTessEndContour.
authorGareth Hughes <gareth@valinux.com>
Tue, 14 Sep 1999 05:37:58 +0000 (05:37 +0000)
committerGareth Hughes <gareth@valinux.com>
Tue, 14 Sep 1999 05:37:58 +0000 (05:37 +0000)
src/glu/mesa/tess.c

index 52353d9798d28fd8ee39a54a963fcda686f13b00..fc24fb99e3d071ac37965217643563877084b310 100644 (file)
@@ -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;