aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/MagnifierBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/MagnifierBench.cpp')
-rw-r--r--bench/MagnifierBench.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp
index 2e937f358b..6d48a61f3e 100644
--- a/bench/MagnifierBench.cpp
+++ b/bench/MagnifierBench.cpp
@@ -43,7 +43,10 @@ protected:
SkIntToScalar(h / 4),
SkIntToScalar(w / 2),
SkIntToScalar(h / 2)), 100))->unref();
- canvas->drawBitmap(fCheckerboard, 0, 0, &paint);
+
+ for (int i = 0; i < this->getLoops(); i++) {
+ canvas->drawBitmap(fCheckerboard, 0, 0, &paint);
+ }
}
private: