| Index: samplecode/SampleXfermodesBlur.cpp
|
| diff --git a/samplecode/SampleXfermodesBlur.cpp b/samplecode/SampleXfermodesBlur.cpp
|
| index 3b8b5920172732947547b0c9b26474e74c58da90..cae415d9d0ae878bf874044354088ea1dbd3c4d5 100644
|
| --- a/samplecode/SampleXfermodesBlur.cpp
|
| +++ b/samplecode/SampleXfermodesBlur.cpp
|
| @@ -76,8 +76,9 @@ public:
|
| const static int W = 64;
|
| const static int H = 64;
|
| XfermodesBlurView() {
|
| - fBG.setConfig(SkBitmap::kARGB_4444_Config, 2, 2, 4, kOpaque_SkAlphaType);
|
| - fBG.setPixels(gBG);
|
| + fBG.installPixels(SkImageInfo::Make(2, 2, kARGB_4444_SkColorType,
|
| + kPremul_SkAlphaType),
|
| + gBG, 4, NULL, NULL);
|
| }
|
|
|
| protected:
|
|
|