diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrTextStrike.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp index a4d3575d22..bae5361075 100644 --- a/src/gpu/GrTextStrike.cpp +++ b/src/gpu/GrTextStrike.cpp @@ -47,9 +47,9 @@ GrFontCache::~GrFontCache() { } static GrPixelConfig mask_format_to_pixel_config(GrMaskFormat format) { - static const GrPixelConfig sPixelConfigs[] = { - kAlpha_8_GrPixelConfig, - kRGB_565_GrPixelConfig, + static const GrPixelConfig sPixelConfigs[] = { + kAlpha_8_GrPixelConfig, + kRGB_565_GrPixelConfig, kSkia8888_GrPixelConfig, kSkia8888_GrPixelConfig }; @@ -59,11 +59,11 @@ static GrPixelConfig mask_format_to_pixel_config(GrMaskFormat format) { } static int mask_format_to_atlas_index(GrMaskFormat format) { - static const int sAtlasIndices[] = { - GrFontCache::kA8_AtlasType, - GrFontCache::k565_AtlasType, - GrFontCache::k8888_AtlasType, - GrFontCache::k8888_AtlasType + static const int sAtlasIndices[] = { + GrFontCache::kA8_AtlasType, + GrFontCache::k565_AtlasType, + GrFontCache::k8888_AtlasType, + GrFontCache::k8888_AtlasType }; SK_COMPILE_ASSERT(SK_ARRAY_COUNT(sAtlasIndices) == kMaskFormatCount, array_size_mismatch); |