diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-08 19:38:53 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-08 19:38:53 +0000 |
commit | 20809009855e9ff683af5eef0dabbe1a500f9c3a (patch) | |
tree | b23c3f3c5570da8d709859a337eb5d1ce1eb51b8 | |
parent | bf083a9a2077e26b3e572aeafd6640156ad68e3b (diff) |
Fix scale metric bench.
git-svn-id: http://skia.googlecode.com/svn/trunk@1549 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | bench/MatrixBench.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/MatrixBench.cpp b/bench/MatrixBench.cpp index 88e1538676..dce035857c 100644 --- a/bench/MatrixBench.cpp +++ b/bench/MatrixBench.cpp @@ -67,11 +67,10 @@ private: class ScaleMatrixBench : public MatrixBench { public: ScaleMatrixBench(void* param) : INHERITED(param, "scale") { - + fSX = fSY = SkFloatToScalar(1.5f); fM0.reset(); fM1.setScale(fSX, fSY); fM2.setTranslate(fSX, fSY); - fSX = fSY = SkFloatToScalar(1.5f); } protected: virtual void performTest() { |