Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 3ea67c9f018d27094b8791c646a57fda5722502d..443494073af596a9ac0f9fee05d49be897d7478c 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -658,7 +658,8 @@ |
int width, int height, |
GrPixelConfig config, |
int sampleCnt, |
- GrSurfaceOrigin origin) { |
+ GrSurfaceOrigin origin, |
+ const SkSurfaceProps* surfaceProps) { |
GrSurfaceDesc desc; |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fOrigin = origin; |
@@ -677,7 +678,8 @@ |
return nullptr; |
} |
- sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(tex->asRenderTarget()))); |
+ sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(tex->asRenderTarget()), |
+ surfaceProps)); |
if (!drawContext) { |
return nullptr; |
} |