| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fe6047e commit d86976e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1862,8 +1862,8 @@ public void blend(PImage src, | |||
| 1862 | 1862 | loadPixels(); | |
| 1863 | 1863 | if (src == this) { | |
| 1864 | 1864 | if (intersect(sx, sy, sx2, sy2, dx, dy, dx2, dy2)) { | |
| 1865 | - blit_resize(get(sx, sy, sx2 - sx, sy2 - sy), | ||
| 1866 | - 0, 0, sx2 - sx - 1, sy2 - sy - 1, | ||
| 1865 | + blit_resize(get(sx, sy, sw, sh), | ||
| 1866 | + 0, 0, sw, sh, | ||
| 1867 | 1867 | pixels, pixelWidth, pixelHeight, dx, dy, dx2, dy2, mode); | |
| 1868 | 1868 | } else { | |
| 1869 | 1869 | // same as below, except skip the loadPixels() because it'd be redundant | |
| Back | FazBrowse Home | New Git URL |
0 commit comments