Make the two too-large-glyph comparisons be the same
BUG=chromium:876767 Change-Id: I18184fe4ab50e08450748cc4cce5ac4560fc2251 Reviewed-on: https://skia-review.googlesource.com/150144 Reviewed-by: Khusal Sagar <khushalsagar@chromium.org> Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
04ccd72c1a
commit
d9c93640bb
@ -344,7 +344,7 @@ inline void SkGlyphRun::forEachGlyphAndPosition(PerGlyphPos perGlyph) const {
|
||||
}
|
||||
|
||||
inline static bool glyph_too_big_for_atlas(const SkGlyph& glyph) {
|
||||
return glyph.fWidth >= 256 || glyph.fHeight >= 256;
|
||||
return glyph.fWidth > 256 || glyph.fHeight > 256;
|
||||
}
|
||||
|
||||
inline static SkRect rect_to_draw(
|
||||
|
Loading…
Reference in New Issue
Block a user