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