Index: samplecode/SampleXfermodesBlur.cpp |
diff --git a/samplecode/SampleXfermodesBlur.cpp b/samplecode/SampleXfermodesBlur.cpp |
index ea9561dfe174a3fccf44c96724f9cb8bb9f28e98..de75d059a86b7ed0f49527cf24da8e8156189189 100644 |
--- a/samplecode/SampleXfermodesBlur.cpp |
+++ b/samplecode/SampleXfermodesBlur.cpp |
@@ -151,12 +151,12 @@ protected: |
const SkScalar w = SkIntToScalar(W); |
const SkScalar h = SkIntToScalar(H); |
- SkShader* s = SkShader::CreateBitmapShader(fBG, |
- SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode); |
SkMatrix m; |
m.setScale(SkIntToScalar(6), SkIntToScalar(6)); |
- s->setLocalMatrix(m); |
+ SkShader* s = SkShader::CreateBitmapShader(fBG, |
+ SkShader::kRepeat_TileMode, |
+ SkShader::kRepeat_TileMode, |
+ &m); |
SkPaint labelP; |
labelP.setAntiAlias(true); |