Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index ca98ffb416a7f6fec0364cedbc38b8abcda5c6f5..64f4cb3deca237649047db0ababf9954813ca01e 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -250,7 +250,8 @@ GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
const SkDeviceProperties& |
leakyProperties, |
bool enableDistanceFieldFonts) { |
- if (fGpu->caps()->shaderCaps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
+ if (fGpu->caps()->shaderCaps()->pathRenderingSupport() && |
+ renderTarget->isStencilBufferMultisampled()) { |
GrStencilAttachment* sb = renderTarget->renderTargetPriv().attachStencilAttachment(); |
if (sb) { |
return GrStencilAndCoverTextContext::Create(this, leakyProperties); |