aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrBatchFontCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/text/GrBatchFontCache.cpp')
-rw-r--r--src/gpu/text/GrBatchFontCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/text/GrBatchFontCache.cpp b/src/gpu/text/GrBatchFontCache.cpp
index 3e212cd171..faafc16a13 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, *fContext->caps());
+ GrPixelConfig config = MaskFormatToPixelConfig(format);
int width = fAtlasConfigs[index].fWidth;
int height = fAtlasConfigs[index].fHeight;
int numPlotsX = fAtlasConfigs[index].numPlotsX();