Permalink
Browse files

Added canvas width to offset the shifting canvas in blur effect, refe…

…r to bug 1392
  • Loading branch information...
anuragbhatnagar committed Nov 20, 2011
1 parent 38cd35e commit b095a071d07eb45cba72834d8ea7b685f8514a37
Showing with 2 additions and 0 deletions.
  1. +1 −0 processing.js
  2. +1 −0 test/ref/tests.js
View
@@ -15554,6 +15554,7 @@
pix[offset + 2] = cb / sum;
pix[offset + 3] = ca / sum;
}
// subtract canvas width to adjust for shifting canvas (bug #1392)
yi += aImgWidth-p.externals.canvas.width;
ymi += aImgWidth-p.externals.canvas.width;
ym++;
View
@@ -1,4 +1,5 @@
var tests = [
{ path: "blurFilter.pde", tags: ["2D"] },
{ path: "stretch.pde", tags: ["3D"] },
{ path: "arc-fill-crisp.pde", tags: ["2D"], epsilonOverride: 0.07 },
{ path: "mixture.pde", tags: ["3D"], knownFailureTicket: "1239" },

0 comments on commit b095a07

Please sign in to comment.