Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index e167bd20bb053606deca1674146e44fdd6230444..e14e8929b04bbc84de2fa52f14298befac2733c2 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -223,13 +223,7 @@ |
return nullptr; |
} |
this->handleDirtyContext(); |
- auto res = this->onWrapBackendRenderTarget(desc, ownership); |
- if (desc.fStencilBits) { |
- // Our algorithms that use the stencil buffer assume it is |
- // initially cleared. |
- this->clearStencil(res); |
- } |
- return res; |
+ return this->onWrapBackendRenderTarget(desc, ownership); |
} |
GrRenderTarget* GrGpu::wrapBackendTextureAsRenderTarget(const GrBackendTextureDesc& desc) { |