change hint to DISABLE_OPTIMIZED_STROKE (issue #1302)

This commit is contained in:
benfry
2012-12-06 17:48:26 +00:00
parent a60e8a1a6d
commit 8a1bbecefd
8 changed files with 33 additions and 22 deletions

View File

@@ -4225,7 +4225,7 @@ public class PShapeOpenGL extends PShape {
// Or accurate 2D mode is enabled, which forces each
// shape to be rendered separately.
protected boolean fragmentedGroup(PGraphicsOpenGL g) {
return g.getHint(ENABLE_ACCURATE_2D) ||
return g.getHint(DISABLE_OPTIMIZED_STROKE) ||
(textures != null && 1 < textures.size()) ||
strokedTexture;
}