Index: src/gpu/text/GrBatchFontCache.cpp |
diff --git a/src/gpu/text/GrBatchFontCache.cpp b/src/gpu/text/GrBatchFontCache.cpp |
index faafc16a13c022fabd80fee97b04064ca1617f52..3e212cd1713b69afb150a2dfdf407954caa07e37 100644 |
--- a/src/gpu/text/GrBatchFontCache.cpp |
+++ b/src/gpu/text/GrBatchFontCache.cpp |
@@ -18,7 +18,7 @@ |
bool GrBatchFontCache::initAtlas(GrMaskFormat format) { |
int index = MaskFormatToAtlasIndex(format); |
if (!fAtlases[index]) { |
- GrPixelConfig config = MaskFormatToPixelConfig(format); |
+ GrPixelConfig config = MaskFormatToPixelConfig(format, *fContext->caps()); |
int width = fAtlasConfigs[index].fWidth; |
int height = fAtlasConfigs[index].fHeight; |
int numPlotsX = fAtlasConfigs[index].numPlotsX(); |