Index: src/utils/SkMatrix44.cpp |
diff --git a/src/utils/SkMatrix44.cpp b/src/utils/SkMatrix44.cpp |
index a598e523f14de83307f586733fe5d17895106e7e..1dca426e32bb940d018af6b75d74b8bcf9a17e65 100644 |
--- a/src/utils/SkMatrix44.cpp |
+++ b/src/utils/SkMatrix44.cpp |
@@ -819,7 +819,7 @@ static void map2_pf(const SkMScalar mat[][4], const float* SK_RESTRICT src2, |
float sx = src2[0]; |
float sy = src2[1]; |
for (int i = 0; i < 4; i++) { |
- dst4[i] = mat[0][i] * sx + mat[1][i] * sy + mat[3][i]; |
+ dst4[i] = SkMScalarToFloat(mat[0][i]) * sx + SkMScalarToFloat(mat[1][i]) * sy + SkMScalarToFloat(mat[3][i]); |
epoger
2013/10/28 21:17:33
please wrap lines at 100 char
|
} |
src2 += 2; |
dst4 += 4; |