diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-19 07:05:38 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-19 07:05:38 +0000 |
commit | 36df7ed46b41ac31cb2205bfd3ae37659d61e2fb (patch) | |
tree | 878b94aa8f59f59e84748f69436bce0cef211312 /src/core | |
parent | 666c5cf3afe99220ab66e549717c832c90bd7a0d (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7293 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkBitmapProcState.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp index 80d2e71386..50f4c55773 100644 --- a/src/core/SkBitmapProcState.cpp +++ b/src/core/SkBitmapProcState.cpp @@ -451,9 +451,9 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s, if (s.fInvType > SkMatrix::kTranslate_Mask) { SkPoint pt; - s.fInvProc(*s.fInvMatrix, + s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, - SkIntToScalar(y) + SK_ScalarHalf, + SkIntToScalar(y) + SK_ScalarHalf, &pt); yTemp = SkScalarFloorToInt(pt.fY); } else { @@ -477,9 +477,9 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s, #ifdef SK_DEBUG { SkPoint pt; - s.fInvProc(*s.fInvMatrix, + s.fInvProc(*s.fInvMatrix, SkIntToScalar(x) + SK_ScalarHalf, - SkIntToScalar(y) + SK_ScalarHalf, + SkIntToScalar(y) + SK_ScalarHalf, &pt); int iY2; |