mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
cap/joins fix in android as well
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user