Graphics/BakedFrameGraph: Fix command buffer destruction when skipping a framepass
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user