Skip to content

Commit

Permalink
Use traingle strip for difference clip (flutter#37469)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Nov 9, 2022
1 parent ca303bf commit 5d0df76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impeller/entity/contents/clip_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ bool ClipContents::Render(const ContentContext& renderer,
info.mvp = Matrix::MakeOrthographic(pass.GetRenderTargetSize());
VS::BindVertInfo(cmd, pass.GetTransientsBuffer().EmplaceUniform(info));

options.primitive_type = PrimitiveType::kTriangleStrip;
cmd.pipeline = renderer.GetClipPipeline(options);
pass.AddCommand(cmd);
}
Expand Down

0 comments on commit 5d0df76

Please sign in to comment.