Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 3d2aa7c57399cb0a570a11650d8072b067e4df6e..29b7d11b4745485f53cedfeecbc18a95885f1e25 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -301,7 +301,8 @@ public: |
const SkBitmap& bm = win->getBitmap(); |
fCurRenderTarget->writePixels(0, 0, bm.width(), bm.height(), |
SkImageInfo2GrPixelConfig(bm.colorType(), |
- bm.alphaType()), |
+ bm.alphaType(), |
+ bm.profileType()), |
bm.getPixels(), |
bm.rowBytes(), |
GrContext::kFlushWrites_PixelOp); |