aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bench/GradientBench.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/bench/GradientBench.cpp b/bench/GradientBench.cpp
index e017732003..29f633125b 100644
--- a/bench/GradientBench.cpp
+++ b/bench/GradientBench.cpp
@@ -167,7 +167,10 @@ protected:
this->setupPaint(&paint);
const SkRect r = { 0, 0, SkIntToScalar(4), SkIntToScalar(4) };
- const SkPoint pts[] = { 0, 0, SkIntToScalar(100), SkIntToScalar(100) };
+ const SkPoint pts[] = {
+ { 0, 0 },
+ { SkIntToScalar(100), SkIntToScalar(100) },
+ };
for (int i = 0; i < 1000; i++) {
const int a = i % 256;