fix double->float warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@8224 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-03-19 14:50:41 +00:00
parent 90808e87c2
commit 56a2e0de63

View File

@ -128,28 +128,28 @@ protected:
{ {
// 1x1.5 scale // 1x1.5 scale
SkMatrix m; SkMatrix m;
m.setScale(1, 1.5); m.setScale(1, 1.5f);
fMatrices.push_back(m); fMatrices.push_back(m);
} }
{ {
// 1.5x1.5 scale // 1.5x1.5 scale
SkMatrix m; SkMatrix m;
m.setScale(1.5, 1.5); m.setScale(1.5f, 1.5f);
fMatrices.push_back(m); fMatrices.push_back(m);
} }
{ {
// 1x1.5 skew // 1x1.5 skew
SkMatrix m; SkMatrix m;
m.setSkew(1, 1.5); m.setSkew(1, 1.5f);
fMatrices.push_back(m); fMatrices.push_back(m);
} }
{ {
// 1.5x1.5 skew // 1.5x1.5 skew
SkMatrix m; SkMatrix m;
m.setSkew(1.5, 1.5); m.setSkew(1.5f, 1.5f);
fMatrices.push_back(m); fMatrices.push_back(m);
} }