Graphics/BakedFrameGraph: Fix command buffer destruction when skipping a framepass
This commit is contained in:
parent
b85cb174ce
commit
26f5d01c86
|
|
@ -33,6 +33,7 @@ namespace Nz
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FramePassExecution::Skip:
|
case FramePassExecution::Skip:
|
||||||
|
renderFrame.PushForRelease(std::move(passData.commandBuffer));
|
||||||
passData.commandBuffer.reset();
|
passData.commandBuffer.reset();
|
||||||
continue; //< Skip the pass
|
continue; //< Skip the pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue