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

Commit 5d0df76

Browse files
authored
Use traingle strip for difference clip (#37469)
1 parent ca303bf commit 5d0df76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

impeller/entity/contents/clip_contents.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ bool ClipContents::Render(const ContentContext& renderer,
9696
info.mvp = Matrix::MakeOrthographic(pass.GetRenderTargetSize());
9797
VS::BindVertInfo(cmd, pass.GetTransientsBuffer().EmplaceUniform(info));
9898

99+
options.primitive_type = PrimitiveType::kTriangleStrip;
99100
cmd.pipeline = renderer.GetClipPipeline(options);
100101
pass.AddCommand(cmd);
101102
}

0 commit comments

Comments
 (0)