Index: src/gpu/batches/GrAtlasTextBatch.cpp |
diff --git a/src/gpu/batches/GrAtlasTextBatch.cpp b/src/gpu/batches/GrAtlasTextBatch.cpp |
index d7f59a95c1ea07c4c750c1ae98e4c9af0cd03f12..efb53a353d105320bd263a97b8c50e60012b4879 100644 |
--- a/src/gpu/batches/GrAtlasTextBatch.cpp |
+++ b/src/gpu/batches/GrAtlasTextBatch.cpp |
@@ -515,7 +515,6 @@ GrGeometryProcessor* GrAtlasTextBatch::setupDfProcessor(const SkMatrix& viewMatr |
flags |= kUseLCD_DistanceFieldEffectFlag; |
flags |= viewMatrix.rectStaysRect() ? kRectToRect_DistanceFieldEffectFlag : 0; |
flags |= fUseBGR ? kBGR_DistanceFieldEffectFlag : 0; |
- flags |= kColorAttr_DistanceFieldEffectFlag; |
GrColor colorNoPreMul = skcolor_to_grcolor_nopremultiply(filteredColor); |
@@ -538,7 +537,6 @@ GrGeometryProcessor* GrAtlasTextBatch::setupDfProcessor(const SkMatrix& viewMatr |
flags, |
this->usesLocalCoords()); |
} else { |
- flags |= kColorAttr_DistanceFieldEffectFlag; |
#ifdef SK_GAMMA_APPLY_TO_A8 |
U8CPU lum = SkColorSpaceLuminance::computeLuminance(SK_GAMMA_EXPONENT, filteredColor); |
float correction = (*fDistanceAdjustTable)[lum >> kDistanceAdjustLumShift]; |