From 723b2feb929b96b1dde40a865c49ea18bc42f055 Mon Sep 17 00:00:00 2001 From: Victoria Lease Date: Mon, 12 Aug 2013 14:38:44 -0700 Subject: fix kBW_Format glyphs Oops! kBW_Format was omitted from a couple of switch statements, resulting in glyphs in that format being invisible. Bug: 10206452 Change-Id: Ib2aa52250aeeecc0de1b1b78e3d0f568f368c73e --- libs/hwui/FontRenderer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/FontRenderer.cpp') diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 1700473b655c..cb6bb2e3694d 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -234,6 +234,7 @@ void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyp Vector* cacheTextures = NULL; switch (format) { case SkMask::kA8_Format: + case SkMask::kBW_Format: cacheTextures = &mACacheTextures; break; case SkMask::kARGB32_Format: -- cgit v1.2.3-59-g8ed1b