Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48297e6b authored by Mike Reed's avatar Mike Reed Committed by Derek Sollenberger
Browse files

Use SkSamplingOptions, rather than deprecated SkFilterOptions

Test: make

Needed for https://skia-review.googlesource.com/c/skia/+/337399

Change-Id: I7ef08c38b674fb8f708028c00d40e66f6a50e402
parent 4228535e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ sk_sp<SkSurface> BlurFilter::generate(SkCanvas* canvas, const sk_sp<SkSurface> i
    const float stepY = radiusByPasses;

    // start by drawing and downscaling and doing the first blur pass
    SkFilterOptions linear = {SkSamplingMode::kLinear, SkMipmapMode::kNone};
    SkSamplingOptions linear(SkFilterMode::kLinear, SkMipmapMode::kNone);
    SkRuntimeShaderBuilder blurBuilder(mBlurEffect);
    blurBuilder.child("input") =
            input->makeImageSnapshot()->makeShader(SkTileMode::kClamp, SkTileMode::kClamp, linear);