diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
-rw-r--r-- | samplecode/SampleApp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index ed1dbc77a2..72122234d9 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -310,8 +310,7 @@ public: 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); |