Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 25911866cbb3467577879f25a727ec9386c6726d..aa922ca170c832253537e8f2c77885b5ebc76435 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -174,7 +174,7 @@ |
resultBounds.height()); |
if (allowCompression && |
- fContext->getGpu()->caps()->drawPathMasksToCompressedTexturesSupport() && |
+ fContext->getOptions().fDrawPathToCompressedTexture && |
choose_compressed_fmt(fContext->getGpu()->caps(), &fCompressedFormat)) { |
fCompressionMode = kCompress_CompressionMode; |
} |