Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4ae71cd

Browse files
committed
format
1 parent c3ce487 commit 4ae71cd

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

impeller/entity/contents/filters/directional_gaussian_blur_filter_contents.cc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -270,13 +270,14 @@ std::optional<Entity> DirectionalGaussianBlurFilterContents::RenderFilter(
270270
sampler_desc.width_address_mode = SamplerAddressMode::kClampToEdge;
271271

272272
return Entity::FromSnapshot(
273-
Snapshot{.texture = render_target.value().GetRenderTargetTexture(),
274-
.transform = texture_rotate.Invert() *
275-
Matrix::MakeTranslation(pass_texture_rect.GetOrigin()) *
276-
Matrix::MakeScale((1 / scale) *
277-
(scaled_size / floored_size)),
278-
.sampler_descriptor = sampler_desc,
279-
.opacity = input_snapshot->opacity},
273+
Snapshot{
274+
.texture = render_target.value().GetRenderTargetTexture(),
275+
.transform =
276+
texture_rotate.Invert() *
277+
Matrix::MakeTranslation(pass_texture_rect.GetOrigin()) *
278+
Matrix::MakeScale((1 / scale) * (scaled_size / floored_size)),
279+
.sampler_descriptor = sampler_desc,
280+
.opacity = input_snapshot->opacity},
280281
entity.GetBlendMode(), entity.GetClipDepth());
281282
}
282283

0 commit comments

Comments
 (0)