From dda28c9bde2a34b98e1383532c210270dacb7ca8 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Fri, 5 Oct 2012 02:01:40 +0000 Subject: [PATCH] Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5821 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/effects/SkMatrixConvolutionImageFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp index 781facf4d..234a74ac0 100644 --- a/src/effects/SkMatrixConvolutionImageFilter.cpp +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp @@ -410,7 +410,7 @@ int encodeXY(int x, int y) { SkASSERT(x >= 1 && y >= 1 && x * y <= 32); if (y < x) return 0x40 | encodeXY(y, x); - else + else return (0x40 >> x) | (y - x); } @@ -491,7 +491,7 @@ bool GrMatrixConvolutionEffect::isEqual(const GrCustomStage& sBase) const { GR_DEFINE_CUSTOM_STAGE_TEST(GrMatrixConvolutionEffect); -// A little bit less than the minimum # uniforms required by DX9SM2 (32). +// A little bit less than the minimum # uniforms required by DX9SM2 (32). // Allows for a 5x5 kernel (or 25x1, for that matter). #define MAX_KERNEL_SIZE 25