| Index: src/gpu/GrDistanceFieldTextContext.cpp
|
| diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp
|
| index 66ec123ae7a32e792835ae1264ce9665711dca4d..2afc52fce8ff97ffd81131ff9d97b72d8c1bb539 100755
|
| --- a/src/gpu/GrDistanceFieldTextContext.cpp
|
| +++ b/src/gpu/GrDistanceFieldTextContext.cpp
|
| @@ -194,8 +194,8 @@ static void setup_gamma_texture(GrContext* context, const SkGlyphCache* cache,
|
| SkScalerContext::GetGammaLUTData(contrast, paintGamma, deviceGamma, data.get());
|
|
|
| // TODO: Update this to use the cache rather than directly creating a texture.
|
| - GrTextureDesc desc;
|
| - desc.fFlags = kDynamicUpdate_GrTextureFlagBit;
|
| + GrSurfaceDesc desc;
|
| + desc.fFlags = kNone_GrSurfaceFlags;
|
| desc.fWidth = width;
|
| desc.fHeight = height;
|
| desc.fConfig = kAlpha_8_GrPixelConfig;
|
|
|