cap/joins fix in android as well

This commit is contained in:
codeanticode
2013-04-18 18:15:59 -04:00
parent fd20e6da02
commit 8cc9a6b16f
@@ -11335,7 +11335,8 @@ public class PGraphicsOpenGL extends PGraphics {
boolean noCapsJoins() {
// The stroke weight is scaled so it correspons to the current
// "zoom level" being applied on the geometry due to scaling:
return transformScale() * strokeWeight < PGL.MIN_CAPS_JOINS_WEIGHT;
return tess.renderMode == IMMEDIATE &&
transformScale() * strokeWeight < PGL.MIN_CAPS_JOINS_WEIGHT;
}
float transformScale() {