Graphics/ForwardFramePipeline: Fix crash with multiple viewers on a single target

This commit is contained in:
SirLynix 2023-12-03 15:31:32 +01:00
parent 73fc061412
commit 27bc5d48e9
1 changed files with 1 additions and 1 deletions

View File

@ -755,7 +755,7 @@ namespace Nz
mergePass.AddOutput(mergedAttachment);
mergePass.SetClearColor(0, Color::Black());
mergePass.SetCommandCallback([&targetViewers](CommandBufferBuilder& builder, const FramePassEnvironment& env)
mergePass.SetCommandCallback([targetViewers](CommandBufferBuilder& builder, const FramePassEnvironment& env)
{
Graphics* graphics = Graphics::Instance();
builder.BindRenderPipeline(*graphics->GetBlitPipeline(false));