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