| Index: src/core/SkBitmapProcState.cpp
|
| diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp
|
| index 390582d161bb401dd4390b123b0e0310c93c2822..821d383e15a33774ed989eaeaebc775b5dfc7d4c 100644
|
| --- a/src/core/SkBitmapProcState.cpp
|
| +++ b/src/core/SkBitmapProcState.cpp
|
| @@ -179,8 +179,8 @@ void SkBitmapProcState::possiblyScaleImage() {
|
|
|
| // set the inv matrix type to translate-only;
|
|
|
| - fInvMatrix.setTranslate( 1/fInvMatrix.getScaleX() * fInvMatrix.getTranslateX(),
|
| - 1/fInvMatrix.getScaleY() * fInvMatrix.getTranslateY() );
|
| + fInvMatrix.setTranslate(fInvMatrix.getTranslateX() / fInvMatrix.getScaleX(),
|
| + fInvMatrix.getTranslateY() / fInvMatrix.getScaleY());
|
|
|
| // no need for any further filtering; we just did it!
|
|
|
|
|