diff --git a/engine/src/flutter/impeller/entity/contents/contents.cc b/engine/src/flutter/impeller/entity/contents/contents.cc index 7a07da9d13..60998616fe 100644 --- a/engine/src/flutter/impeller/entity/contents/contents.cc +++ b/engine/src/flutter/impeller/entity/contents/contents.cc @@ -26,7 +26,7 @@ ContentContextOptions OptionsFromPass(const RenderPass& pass) { FML_DCHECK(pass.HasDepthAttachment() == pass.HasStencilAttachment()); opts.has_depth_stencil_attachments = has_depth_stencil_attachments; - opts.depth_compare = CompareFunction::kGreater; + opts.depth_compare = CompareFunction::kGreaterEqual; opts.stencil_mode = ContentContextOptions::StencilMode::kIgnore; return opts; }