Skip to content

Commit 027bb55

Browse files
iskakaushikzanderso
authored andcommitted
Use traingle strip for difference clip (flutter#37469)
1 parent c48ca60 commit 027bb55

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)