diff options
author | robertphillips <robertphillips@google.com> | 2015-06-19 06:40:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-19 06:40:02 -0700 |
commit | 8b1fa6dd8d9c573d535dc5c427d71e0cabcc5747 (patch) | |
tree | a1a12e9263a20f7e6391dcc77caf1bad047b8405 /include | |
parent | 20eee3f047f56b7715b311313b2998daaaf08a96 (diff) |
Fix precision error in https://codereview.chromium.org/1188433011/
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1192853002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkMatrix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index fa7a63a4e8..dc482b888e 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -723,7 +723,7 @@ private: */ bool isFinite() const; - static void ComputeInv(SkScalar dst[9], const SkScalar src[9], SkScalar invDet, bool isPersp); + static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp); void setScaleTranslate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) { fMat[kMScaleX] = sx; |