From a5c804ca8bba5f62921ca6b5e92fe651da2f916b Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Mon, 26 Sep 2022 00:08:32 +0800 Subject: [PATCH] Fixed SHRenderGraph not moving the batcher --- SHADE_Engine/src/Graphics/RenderGraph/SHRenderGraph.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SHADE_Engine/src/Graphics/RenderGraph/SHRenderGraph.cpp b/SHADE_Engine/src/Graphics/RenderGraph/SHRenderGraph.cpp index 85d822b5..92276f95 100644 --- a/SHADE_Engine/src/Graphics/RenderGraph/SHRenderGraph.cpp +++ b/SHADE_Engine/src/Graphics/RenderGraph/SHRenderGraph.cpp @@ -530,6 +530,8 @@ namespace SHADE , executed{ rhs.executed } , ptrToResources{ rhs.ptrToResources } , pipelineLibrary{ std::move(rhs.pipelineLibrary) } + , batcher { std::move(rhs.batcher) } + { rhs.renderpass = {}; } @@ -551,6 +553,7 @@ namespace SHADE subpassIndexing = std::move(rhs.subpassIndexing); ptrToResources = std::move(rhs.ptrToResources); pipelineLibrary = std::move(rhs.pipelineLibrary); + batcher = std::move(rhs.batcher); rhs.renderpass = {};