diff options
Diffstat (limited to 'src/gpu/GrAtlasTextContext.cpp')
-rw-r--r-- | src/gpu/GrAtlasTextContext.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp index 08fbf5887a..f5976392cc 100644 --- a/src/gpu/GrAtlasTextContext.cpp +++ b/src/gpu/GrAtlasTextContext.cpp @@ -1678,8 +1678,10 @@ public: } glyph = blob->fGlyphs[glyphOffset]; SkASSERT(glyph); - SkASSERT(id == glyph->fPackedID && - glyph->fMaskFormat == this->maskFormat()); + SkASSERT(id == glyph->fPackedID); + // We want to be able to assert this but cannot for testing purposes. + // once skbug:4143 has landed we can revist this assert + //SkASSERT(glyph->fMaskFormat == this->maskFormat()); if (!fFontCache->hasGlyph(glyph) && !strike->addGlyphToAtlas(batchTarget, glyph, scaler, skGlyph, |