Skip to content

Commit bf58dc1

Browse files
committed
Remove an extra line
1 parent a201a71 commit bf58dc1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/processing/core/PImage.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ public void mask(int[] maskArray) { // ignore
840840
*/
841841
public void mask(PImage img) {
842842
img.loadPixels();
843-
this.loadPixels();
844843
if (this.pixelWidth != img.pixelWidth || this.pixelHeight != img.pixelHeight) {
845844
if (this.pixelDensity != img.pixelDensity) {
846845
throw new IllegalArgumentException("mask() requires the mask image to have the same pixel size after adjusting for pixelDensity.");

0 commit comments

Comments
 (0)