Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0dffce4

Browse files
author
jonahwilliams
committed
++
1 parent 8ec3fb8 commit 0dffce4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

impeller/entity/contents/content_context.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,7 @@ fml::StatusOr<RenderTarget> ContentContext::MakeSubpass(
487487
RenderTarget subpass_target;
488488

489489
std::optional<RenderTarget::AttachmentConfig> depth_stencil_config =
490-
depth_stencil_enabled ? RenderTarget::kDefaultStencilAttachmentConfig
491-
: std::optional<RenderTarget::AttachmentConfig>();
490+
RenderTarget::kDefaultStencilAttachmentConfig;
492491

493492
if (context->GetCapabilities()->SupportsOffscreenMSAA() && msaa_enabled) {
494493
subpass_target = GetRenderTargetCache()->CreateOffscreenMSAA(

0 commit comments

Comments
 (0)