Index: samplecode/SamplePatch.cpp |
diff --git a/samplecode/SamplePatch.cpp b/samplecode/SamplePatch.cpp |
index fe94bbfd52812df1fd9edf2d3f26014d5fba03e6..09eb42f6aa9e88c98d4ee1aab4bed36e5b8c4b8a 100644 |
--- a/samplecode/SamplePatch.cpp |
+++ b/samplecode/SamplePatch.cpp |
@@ -42,7 +42,7 @@ |
{ SkIntToScalar(size.fX), SkIntToScalar(size.fY) } }; |
SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; |
return SkGradientShader::CreateLinear(pts, colors, NULL, |
- SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode); |
+ SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode, NULL); |
} |
/////////////////////////////////////////////////////////////////////////////// |