diff options
author | humper <humper@google.com> | 2014-06-06 11:22:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-06 11:22:50 -0700 |
commit | 7bf666a00f806f2b4bf76abd8226c9e6640d2ddf (patch) | |
tree | 267642912ebe9092eb1437fc232c2fb01155a72f /src/effects/SkBlurMaskFilter.cpp | |
parent | ede6cfc0f58495a3c3204f7ea9c937c793f97943 (diff) |
fix blur test
BUG=skia:
TBR=jvanverth
NOTRY=True
NOTREECHECKS=True
Author: humper@google.com
Review URL: https://codereview.chromium.org/323583002
Diffstat (limited to 'src/effects/SkBlurMaskFilter.cpp')
-rw-r--r-- | src/effects/SkBlurMaskFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index a1cee8eddf..f9760486d7 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -560,7 +560,7 @@ public: GrTexture *blurProfileTexture = NULL; int doubleProfileSize = SkScalarCeilToInt(12*sigma); - if (doubleProfileSize <= rect.width() || doubleProfileSize <= rect.height()) { + if (doubleProfileSize >= rect.width() || doubleProfileSize >= rect.height()) { // if the blur sigma is too large so the gaussian overlaps the whole // rect in either direction, fall back to CPU path for now. |