Graphics/BakedFrameGraph: Don't release in flight resources

This commit is contained in:
Jérôme Leclercq
2021-07-17 20:57:36 +02:00
parent 40ecdda3cd
commit f61deabe92
2 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ namespace Nz
const std::shared_ptr<Texture>& GetAttachmentTexture(std::size_t attachmentIndex) const;
const std::shared_ptr<RenderPass>& GetRenderPass(std::size_t passIndex) const;
bool Resize(unsigned int width, unsigned int height);
bool Resize(RenderFrame& renderFrame);
BakedFrameGraph& operator=(const BakedFrameGraph&) = delete;
BakedFrameGraph& operator=(BakedFrameGraph&&) noexcept = default;