Index: bench/LightingBench.cpp |
diff --git a/bench/LightingBench.cpp b/bench/LightingBench.cpp |
index 9f25434bcce20e5f3049286fba222e2fa6fea68b..37c098b2f6c207547772b25d3028bd9a06c7c344 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() { |