Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
| index 78f29e73bc713d773ce27ce94164244316b83c25..8d02f80848944172529bb1f8c0e93e1e2c7a6824 100755 |
| --- a/src/gpu/GrContext.cpp |
| +++ b/src/gpu/GrContext.cpp |
| @@ -218,7 +218,7 @@ GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
| const SkDeviceProperties& |
| leakyProperties, |
| bool enableDistanceFieldFonts) { |
| - if (fGpu->caps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
| + if (fGpu->caps()->pathRenderingSupport() && renderTarget->isMultisampled(kStencil_GrSampleConfig)) { |
|
Chris Dalton
2015/03/12 07:43:35
>100 columns
vbuzinov
2015/03/13 13:37:22
Done.
|
| GrStencilBuffer* sb = renderTarget->renderTargetPriv().attachStencilBuffer(); |
| if (sb) { |
| return GrStencilAndCoverTextContext::Create(this, leakyProperties); |