Commit 96a04023f9e595aa9681a3bd491dccc431582b33

henry 2001-09-27T01:41:15

Added tessellation winding rules

diff --git a/src/FTPolyGlyph.cpp b/src/FTPolyGlyph.cpp
index ded0c01..d828cc8 100644
--- a/src/FTPolyGlyph.cpp
+++ b/src/FTPolyGlyph.cpp
@@ -105,15 +105,15 @@ void FTPolyGlyph::Tesselate()
 	
 	glNewList( glList, GL_COMPILE);
 	
-//		if( contourFlag & ft_outline_even_odd_fill) // ft_outline_reverse_fill
-//		{
-//			gluTessProperty( tobj, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_ODD);
-//		}
-//		else
-//		{
-//			gluTessProperty( tobj, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_NONZERO);
-//		}
-//		
+		if( contourFlag & ft_outline_even_odd_fill) // ft_outline_reverse_fill
+		{
+			gluTessProperty( tobj, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_ODD);
+		}
+		else
+		{
+			gluTessProperty( tobj, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_NONZERO);
+		}
+		
 		gluTessProperty( tobj, GLU_TESS_TOLERANCE, 0);
 		gluTessBeginPolygon( tobj, NULL);