Fixes blend mode not being set correctly, fixing #5645.

This commit is contained in:
Sigmund Hansen
2018-09-10 15:27:50 +02:00
parent 1384a67415
commit 07e5d319e4
+1 -1
View File
@@ -6177,7 +6177,7 @@ public class PGraphics extends PImage implements PConstants {
ellipseMode(s.ellipseMode);
shapeMode(s.shapeMode);
if (blendMode != 0) {
if (blendMode != s.blendMode) {
blendMode(s.blendMode);
}