Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 80ffaaa6cfb10faf24acd04a493a9afe785bd385..c8fbf3dd15e3e76608b62d2e1fad3cd40844de6e 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -1449,7 +1449,7 @@ void SampleWindow::afterChildren(SkCanvas* orig) { |
SkBaseDevice* device = orig->getDevice(); |
SkBitmap bmp; |
- if (device->accessBitmap(false).copyTo(&bmp, SkBitmap::kARGB_8888_Config)) { |
+ if (device->accessBitmap(false).copyTo(&bmp, kPMColor_SkColorType)) { |
static int gSampleGrabCounter; |
SkString name; |
name.printf("sample_grab_%d.png", gSampleGrabCounter++); |