Fixing winding: polygons are now solid

This commit is contained in:
Jakub Valtar
2014-11-04 02:45:51 +01:00
parent 2918509d9f
commit 6e2c7f8e80
@@ -2363,7 +2363,7 @@ public class PGraphicsOpenGL extends PGraphics {
if (normalMode == NORMAL_MODE_AUTO) inGeo.calcQuadStripNormals();
tessellator.tessellateQuadStrip();
} else if (shape == POLYGON) {
tessellator.tessellatePolygon(false, mode == CLOSE,
tessellator.tessellatePolygon(true, mode == CLOSE,
normalMode == NORMAL_MODE_AUTO);
}
}