From f513109c94ccb35197a1c3083d13ccfbe425c855 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Mon, 4 Mar 2024 15:29:12 -0800 Subject: [PATCH] Use default stencil config for Picture::ToImage --- impeller/aiks/picture.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/impeller/aiks/picture.cc b/impeller/aiks/picture.cc index 77f7fa8dbcfd0..64ea0c19aea7a 100644 --- a/impeller/aiks/picture.cc +++ b/impeller/aiks/picture.cc @@ -66,17 +66,15 @@ std::shared_ptr Picture::RenderToTexture( /*mip_count=*/1, "Picture Snapshot MSAA", // label RenderTarget:: - kDefaultColorAttachmentConfigMSAA, // color_attachment_config - std::nullopt // stencil_attachment_config + kDefaultColorAttachmentConfigMSAA // color_attachment_config ); } else { target = render_target_allocator.CreateOffscreen( *impeller_context, // context size, // size /*mip_count=*/1, - "Picture Snapshot", // label - RenderTarget::kDefaultColorAttachmentConfig, // color_attachment_config - std::nullopt // stencil_attachment_config + "Picture Snapshot", // label + RenderTarget::kDefaultColorAttachmentConfig // color_attachment_config ); } if (!target.IsValid()) {