| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index 4d6f5d623831091b2a0c1e72814e33b7e6e0b50a..a6e96546593876a3901675418c7bc43c5750490d 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -146,7 +146,8 @@ bool GrGpu::attachStencilAttachmentToRenderTarget(GrRenderTarget* rt) {
|
| }
|
| #endif
|
|
|
| - GrStencilAttachment::ComputeSharedStencilAttachmentKey(width, height, rt->numSamples(), &sbKey);
|
| + GrStencilAttachment::ComputeSharedStencilAttachmentKey(width, height,
|
| + rt->numStencilSamples(), &sbKey);
|
| SkAutoTUnref<GrStencilAttachment> sb(static_cast<GrStencilAttachment*>(
|
| this->getContext()->getResourceCache()->findAndRefUniqueResource(sbKey)));
|
| if (sb) {
|
|
|