Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index 05d6ce0f7dc5fac6beb216c7ffa65417605bcbb5..afd942bf1f5fc2dc7885d4599242a2eea0e768de 100644 |
--- a/samplecode/SampleApp.cpp |
+++ b/samplecode/SampleApp.cpp |
@@ -310,7 +310,8 @@ public: |
fCurRenderTarget->writePixels(0, 0, bm.width(), bm.height(), |
SkImageInfo2GrPixelConfig(bm.colorType(), |
bm.alphaType(), |
- bm.profileType()), |
+ bm.profileType(), |
+ *fCurContext->caps()), |
bm.getPixels(), |
bm.rowBytes(), |
GrContext::kFlushWrites_PixelOp); |