Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 4266fcbbd0a358ec60cab0718bcc7774e51df82b..df1f91bb249b8a0c9a6cc34acddafceb476e2978 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -248,8 +248,7 @@ GrTexture* GrSWMaskHelper::createTexture() { |
SkASSERT(fContext->caps()->isConfigTexturable(desc.fConfig)); |
} |
- return fContext->textureProvider()->refScratchTexture( |
- desc, GrTextureProvider::kApprox_ScratchTexMatch); |
+ return fContext->textureProvider()->createApproxTexture(desc); |
} |
void GrSWMaskHelper::sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, |