Skip to content

Commit

Permalink
removed auto
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke committed Mar 4, 2024
1 parent 2616250 commit 0a0989d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ std::optional<Entity> GaussianBlurFilterContents::RenderFilter(
SamplerDescriptor sampler_desc = MakeSamplerDescriptor(
MinMagFilter::kLinear, SamplerAddressMode::kClampToEdge);

auto blur_output_entity = Entity::FromSnapshot(
Entity blur_output_entity = Entity::FromSnapshot(
Snapshot{.texture = pass3_out.value().GetRenderTargetTexture(),
.transform = input_snapshot->transform *
padding_snapshot_adjustment *
Expand All @@ -534,8 +534,8 @@ std::optional<Entity> GaussianBlurFilterContents::RenderFilter(
entity.GetBlendMode(), entity.GetClipDepth());

return ApplyBlurStyle(mask_blur_style_, entity, inputs[0],
input_snapshot.value(),
std::move(blur_output_entity), mask_geometry_);
input_snapshot.value(), std::move(blur_output_entity),
mask_geometry_);
}

Scalar GaussianBlurFilterContents::CalculateBlurRadius(Scalar sigma) {
Expand Down

0 comments on commit 0a0989d

Please sign in to comment.