diff options
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index 4d6f5d6238..a6e9654659 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) { |