Index: example/HelloWorld.h |
diff --git a/example/HelloWorld.h b/example/HelloWorld.h |
index 619ee7cb4df317b32014f049bcad3924d9e5a376..deb56ba699b119a97ea9881a69682bcb62f33ab2 100644 |
--- a/example/HelloWorld.h |
+++ b/example/HelloWorld.h |
@@ -36,7 +36,7 @@ protected: |
SkSurface* createSurface() override { |
SkSurfaceProps props(INHERITED::getSurfaceProps()); |
if (kGPU_DeviceType == fType) { |
- return SkSurface::MakeRenderTargetDirect(fRenderTarget, &props).release(); |
+ return SkSurface::MakeRenderTargetDirect(fRenderTarget, nullptr, &props).release(); |
} |
static const SkImageInfo info = SkImageInfo::MakeN32Premul( |
SkScalarRoundToInt(this->width()), SkScalarRoundToInt(this->height())); |