Index: samplecode/SampleDitherBitmap.cpp |
diff --git a/samplecode/SampleDitherBitmap.cpp b/samplecode/SampleDitherBitmap.cpp |
index e05d074f3b1ee4b8fc5b40b125c564502dd7183b..a3ebafa29602ee024d66c190e22a5fbeca514dd8 100644 |
--- a/samplecode/SampleDitherBitmap.cpp |
+++ b/samplecode/SampleDitherBitmap.cpp |
@@ -84,7 +84,7 @@ |
DitherBitmapView() { |
fResult = test_pathregion(); |
fBM8 = make_bitmap(); |
- fBM8.copyTo(&fBM32, kN32_SkColorType); |
+ fBM8.copyTo(&fBM32, kPMColor_SkColorType); |
this->setBGColor(0xFFDDDDDD); |
} |