aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/LightingBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/LightingBench.cpp')
-rw-r--r--bench/LightingBench.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bench/LightingBench.cpp b/bench/LightingBench.cpp
index 9f25434bcc..37c098b2f6 100644
--- a/bench/LightingBench.cpp
+++ b/bench/LightingBench.cpp
@@ -26,7 +26,9 @@ protected:
SkRect::MakeWH(FILTER_WIDTH_LARGE, FILTER_HEIGHT_LARGE);
SkPaint paint;
paint.setImageFilter(imageFilter)->unref();
- canvas->drawRect(r, paint);
+ for (int i = 0; i < this->getLoops(); i++) {
+ canvas->drawRect(r, paint);
+ }
}
static SkPoint3 getPointLocation() {