Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index f0bd3757a6d691a2eef7d793170ff619378a2460..13bc43cbe2a87e3cb16a38c14c9bb8211ddde6aa 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -767,7 +767,7 @@ void GrGLRectBlurEffect::setData(const GrGLProgramDataManager& pdman, |
bool GrRectBlurEffect::CreateBlurProfileTexture(GrContext *context, float sigma, |
GrTexture **blurProfileTexture) { |
GrTextureParams params; |
- GrTextureDesc texDesc; |
+ GrSurfaceDesc texDesc; |
unsigned int profile_size = SkScalarCeilToInt(6*sigma); |
@@ -944,7 +944,7 @@ GrFragmentProcessor* GrRRectBlurEffect::Create(GrContext* context, float sigma, |
unsigned int smallRectSide = 2*(blurRadius + cornerRadius) + 1; |
unsigned int texSide = smallRectSide + 2*blurRadius; |
- GrTextureDesc texDesc; |
+ GrSurfaceDesc texDesc; |
texDesc.fWidth = texSide; |
texDesc.fHeight = texSide; |
texDesc.fConfig = kAlpha_8_GrPixelConfig; |