diff --git a/src/gpu/ops/GrAtlasTextOp.cpp b/src/gpu/ops/GrAtlasTextOp.cpp index a3062ddb31..e749e9400e 100644 --- a/src/gpu/ops/GrAtlasTextOp.cpp +++ b/src/gpu/ops/GrAtlasTextOp.cpp @@ -73,6 +73,7 @@ std::unique_ptr GrAtlasTextOp::MakeDistanceField( : kGrayscaleDistanceField_MaskType; op->fUseGammaCorrectDistanceTable = useGammaCorrectDistanceTable; op->fLuminanceColor = luminanceColor; + op->fNeedsGlyphTransform = true; op->fNumGlyphs = glyphCount; op->fGeoCount = 1; return op; @@ -100,8 +101,6 @@ void GrAtlasTextOp::init() { fDFGPFlags |= (kLCDBGRDistanceField_MaskType == fMaskType) ? kBGR_DistanceFieldEffectFlag : 0; } - - fNeedsGlyphTransform = true; } SkRect bounds;