aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkMatrix.cpp
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-06 17:21:44 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-06 17:21:44 +0000
commit521ed7c7c2e94f6e32132eb26ef875e3d1a4b331 (patch)
treec280fcdde2f8639d29652842f51dfcca92e7c0b1 /src/core/SkMatrix.cpp
parente1fee49d03eb3c36f410ff55e80c25ebee4a52b7 (diff)
Attempt to correct issue with fixed point from SkMatrix changes in r1512.
git-svn-id: http://skia.googlecode.com/svn/trunk@1515 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkMatrix.cpp')
-rw-r--r--src/core/SkMatrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkMatrix.cpp b/src/core/SkMatrix.cpp
index a5a1eba71f..c134b8ffd4 100644
--- a/src/core/SkMatrix.cpp
+++ b/src/core/SkMatrix.cpp
@@ -87,7 +87,7 @@ uint8_t SkMatrix::computeTypeMask() const {
// is a win, but replacing those below is not. We don't yet understand
// that result.
if (fMat[kMPersp0] != 0 || fMat[kMPersp1] != 0 ||
- fMat[kMPersp2] != SK_Scalar1) {
+ fMat[kMPersp2] != kMatrix22Elem) {
mask |= kPerspective_Mask;
}