Fixed issue 865

This commit is contained in:
codeanticode
2011-11-07 23:33:03 +00:00
parent 3f1b0f06d1
commit 0e63965d20
2 changed files with 4 additions and 0 deletions
@@ -1522,6 +1522,8 @@ public class PGraphicsAndroid3D extends PGraphics {
// reset vertex, line and triangle information
// every shape is rendered at endShape();
vertexCount = 0;
curveVertexCount = 0;
pathCount = 0;
faceCount = 0;
@@ -1819,6 +1819,8 @@ public class PGraphicsOpenGL extends PGraphics {
// reset vertex, line and triangle information
// every shape is rendered at endShape();
vertexCount = 0;
curveVertexCount = 0;
pathCount = 0;
faceCount = 0;