Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 78f29e73bc713d773ce27ce94164244316b83c25..39addeed979c2085afc46f4c92c9f4cf7d4cf439 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -218,7 +218,8 @@ GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
const SkDeviceProperties& |
leakyProperties, |
bool enableDistanceFieldFonts) { |
- if (fGpu->caps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
+ if (fGpu->caps()->pathRenderingSupport() && |
+ renderTarget->isMultisampled(kAnywhere_GrPipelineStage)) { |
GrStencilBuffer* sb = renderTarget->renderTargetPriv().attachStencilBuffer(); |
if (sb) { |
return GrStencilAndCoverTextContext::Create(this, leakyProperties); |