Index: example/HelloWorld.cpp |
diff --git a/example/HelloWorld.cpp b/example/HelloWorld.cpp |
index bb29a0c3f53824f69e09085994e67ee33cd2a498..892dce1c805251a31abc956273b199872c3268b8 100644 |
--- a/example/HelloWorld.cpp |
+++ b/example/HelloWorld.cpp |
@@ -157,7 +157,8 @@ void HelloWorldWindow::draw(SkCanvas* canvas) { |
fRenderTarget->writePixels(0, 0, snap->width(), snap->height(), |
SkImageInfo2GrPixelConfig(info.colorType(), |
info.alphaType(), |
- info.profileType()), |
+ info.profileType(), |
+ *fContext->caps()), |
pmap.addr(), |
pmap.rowBytes(), |
GrContext::kFlushWrites_PixelOp); |