aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkGpuBlurUtils.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-10-28 14:33:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-28 14:33:06 -0700
commitf2703d83da3ab2ae18b45231fd4f11e16cce3184 (patch)
tree296ec36a08899623dc5808190600f14e08c24107 /src/effects/SkGpuBlurUtils.cpp
parent0ec28af1a7259ef0deec44bd3cba74aafc3c2ad1 (diff)
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
Diffstat (limited to 'src/effects/SkGpuBlurUtils.cpp')
-rw-r--r--src/effects/SkGpuBlurUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
index 3297d2fc77..3654407dda 100644
--- a/src/effects/SkGpuBlurUtils.cpp
+++ b/src/effects/SkGpuBlurUtils.cpp
@@ -172,8 +172,8 @@ GrTexture* GaussianBlur(GrContext* context,
kRGBA_8888_GrPixelConfig == srcTexture->config() ||
kAlpha_8_GrPixelConfig == srcTexture->config());
- GrTextureDesc desc;
- desc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit;
+ GrSurfaceDesc desc;
+ desc.fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag;
desc.fWidth = SkScalarFloorToInt(srcRect.width());
desc.fHeight = SkScalarFloorToInt(srcRect.height());
desc.fConfig = srcTexture->config();