aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkGpuBlurUtils.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-02-23 09:06:38 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-23 09:06:38 -0800
commit6bc1b5fab8554a9cb643277b4867965dd4535cd6 (patch)
tree3179261534d7db7a8264735b327daa59593e1dd0 /src/effects/SkGpuBlurUtils.cpp
parent42380174ca509e78ab932fa8c6dae953e1eaaa5a (diff)
Dynamically create stencil buffer when needed.
Diffstat (limited to 'src/effects/SkGpuBlurUtils.cpp')
-rw-r--r--src/effects/SkGpuBlurUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
index 1c2ce5e0e8..77e225888c 100644
--- a/src/effects/SkGpuBlurUtils.cpp
+++ b/src/effects/SkGpuBlurUtils.cpp
@@ -167,7 +167,7 @@ GrTexture* GaussianBlur(GrContext* context,
kAlpha_8_GrPixelConfig == srcTexture->config());
GrSurfaceDesc desc;
- desc.fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag;
+ desc.fFlags = kRenderTarget_GrSurfaceFlag;
desc.fWidth = SkScalarFloorToInt(srcRect.width());
desc.fHeight = SkScalarFloorToInt(srcRect.height());
desc.fConfig = srcTexture->config();