caps/joins always added in retained mode

This commit is contained in:
codeanticode
2013-04-18 18:13:33 -04:00
parent 908a72ff59
commit fd20e6da02
@@ -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() {