Skip to content

Commit 32b3ad9

Browse files
committed
Use traingle strip for difference clip
This was wrongly removed in flutter#37315 where I assumed that this was overwritten by geometry_result a few lines below, but there is indeed a pipeline created earlier in line:100. Fixes: flutter/flutter#114870
1 parent e778ca4 commit 32b3ad9

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)