Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index 69dcaa700ce0b59bc9e90b13da5a130f2eda2bf1..14809756c80aeb7e19086f75c28ecd23002de3a1 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -188,7 +188,7 @@ static void setup_gamma_texture(GrContext* context, const SkGlyphCache* cache, |
desc.fHeight = height; |
desc.fConfig = kAlpha_8_GrPixelConfig; |
- *gammaTexture = context->getGpu()->createTexture(desc, NULL, 0); |
+ *gammaTexture = context->getGpu()->createTexture(desc, true, NULL, 0); |
if (NULL == *gammaTexture) { |
return; |
} |