diff options
Diffstat (limited to 'src/effects')
-rwxr-xr-x | src/effects/SkColorFilterImageFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkColorFilterImageFilter.cpp b/src/effects/SkColorFilterImageFilter.cpp index f8df51fbd0..22b5d12c9c 100755 --- a/src/effects/SkColorFilterImageFilter.cpp +++ b/src/effects/SkColorFilterImageFilter.cpp @@ -87,7 +87,7 @@ bool SkColorFilterImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& sourc SkColorFilter* parentColorFilter; SkScalar parentMatrix[20]; while (parent && (parentColorFilter = parent->asColorFilter()) - && parentColorFilter->asColorMatrix(parentMatrix) + && parentColorFilter->asColorMatrix(parentMatrix) && !matrix_needs_clamping(parentMatrix)) { SkScalar combinedMatrix[20]; mult_color_matrix(parentMatrix, colorMatrix, combinedMatrix); |