Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 96c071473ca303630f692c7da39d1cbd9caf8001..b072142a0bd6383520be33a4bc0357f76471289c 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1824,7 +1824,8 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
GrLayerHoister::FindLayersToAtlas(fContext, mainPicture, |
clipBounds, |
- &atlasedNeedRendering, &atlasedRecycled); |
+ &atlasedNeedRendering, &atlasedRecycled, |
+ fRenderTarget->numSamples()); |
GrLayerHoister::DrawLayersToAtlas(fContext, atlasedNeedRendering); |
@@ -1832,7 +1833,8 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
GrLayerHoister::FindLayersToHoist(fContext, mainPicture, |
clipBounds, |
- &needRendering, &recycled); |
+ &needRendering, &recycled, |
+ fRenderTarget->numSamples()); |
GrLayerHoister::DrawLayers(fContext, needRendering); |