diff options
Diffstat (limited to 'gm/arithmode.cpp')
-rw-r--r-- | gm/arithmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp index 40027982db..ea015c6427 100644 --- a/gm/arithmode.cpp +++ b/gm/arithmode.cpp @@ -27,7 +27,7 @@ static SkBitmap make_src() { SkBitmap bm = make_bm(); SkCanvas canvas(bm); SkPaint paint; - SkPoint pts[] = { 0, 0, SkIntToScalar(WW), SkIntToScalar(HH) }; + SkPoint pts[] = { {0, 0}, {SkIntToScalar(WW), SkIntToScalar(HH)} }; SkColor colors[] = { SK_ColorBLACK, SK_ColorGREEN, SK_ColorCYAN, SK_ColorRED, SK_ColorMAGENTA, SK_ColorWHITE @@ -43,7 +43,7 @@ static SkBitmap make_dst() { SkBitmap bm = make_bm(); SkCanvas canvas(bm); SkPaint paint; - SkPoint pts[] = { 0, SkIntToScalar(HH), SkIntToScalar(WW), 0 }; + SkPoint pts[] = { {0, SkIntToScalar(HH)}, {SkIntToScalar(WW), 0} }; SkColor colors[] = { SK_ColorBLUE, SK_ColorYELLOW, SK_ColorBLACK, SK_ColorGREEN, SK_ColorGRAY }; |