diff options
Diffstat (limited to 'src/gpu/GrLayerHoister.cpp')
-rw-r--r-- | src/gpu/GrLayerHoister.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp index 80ea3cdc50..dd8a48547a 100644 --- a/src/gpu/GrLayerHoister.cpp +++ b/src/gpu/GrLayerHoister.cpp @@ -306,7 +306,8 @@ void GrLayerHoister::FilterLayer(GrContext* context, const SkIRect subset = SkIRect::MakeWH(layer->texture()->width(), layer->texture()->height()); sk_sp<SkSpecialImage> img(SkSpecialImage::MakeFromGpu(&proxy, subset, kNeedNewImageUniqueID_SpecialImage, - layer->texture())); + layer->texture(), + &device->surfaceProps())); SkIPoint offset = SkIPoint::Make(0, 0); sk_sp<SkSpecialImage> result(layer->filter()->filterImage(img.get(), |