catch issues with per-vertex coloring/styles (fixes #3677)

This commit is contained in:
Ben Fry
2015-08-21 10:57:00 -04:00
parent 0a62e9fc9c
commit facadfc9f5
2 changed files with 43 additions and 38 deletions

View File

@@ -412,6 +412,9 @@ public class PShapeOpenGL extends PShape {
// GROUP shapes are always marked as ended.
shapeCreated = true;
}
// OpenGL supports per-vertex coloring (unlike Java2D)
perVertexStyles = true;
}