aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/HelloWorld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/HelloWorld.cpp')
-rw-r--r--example/HelloWorld.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/HelloWorld.cpp b/example/HelloWorld.cpp
index 892dce1c80..bb29a0c3f5 100644
--- a/example/HelloWorld.cpp
+++ b/example/HelloWorld.cpp
@@ -157,8 +157,7 @@ void HelloWorldWindow::draw(SkCanvas* canvas) {
fRenderTarget->writePixels(0, 0, snap->width(), snap->height(),
SkImageInfo2GrPixelConfig(info.colorType(),
info.alphaType(),
- info.profileType(),
- *fContext->caps()),
+ info.profileType()),
pmap.addr(),
pmap.rowBytes(),
GrContext::kFlushWrites_PixelOp);