diff options
Diffstat (limited to 'src/gpu/GrLayerHoister.cpp')
-rw-r--r-- | src/gpu/GrLayerHoister.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp index ac09df825b..49ca338bb2 100644 --- a/src/gpu/GrLayerHoister.cpp +++ b/src/gpu/GrLayerHoister.cpp @@ -95,7 +95,7 @@ void GrLayerHoister::DrawLayers(const SkPicture* picture, atlasCanvas->concat(layer->ctm()); SkRecordPartialDraw(*picture->fRecord.get(), atlasCanvas, bound, - layer->start(), layer->stop()); + layer->start()+1, layer->stop()); atlasCanvas->restore(); } @@ -129,7 +129,7 @@ void GrLayerHoister::DrawLayers(const SkPicture* picture, layerCanvas->concat(layer->ctm()); SkRecordPartialDraw(*picture->fRecord.get(), layerCanvas, bound, - layer->start(), layer->stop()); + layer->start()+1, layer->stop()); layerCanvas->flush(); } |