Graphics: Fix MaterialPipeline::GetRenderPipeline

This commit is contained in:
Jérôme Leclercq
2020-10-31 16:29:02 +01:00
parent 8027ae9abe
commit ad88561245
2 changed files with 13 additions and 40 deletions

View File

@@ -53,6 +53,8 @@ namespace Nz
renderPipelineInfo.shaderStages.push_back(shaderStage);
}
renderPipelineInfo.vertexBuffers = vertexBuffers;
return m_renderPipelines.emplace_back(Graphics::Instance()->GetRenderDevice().InstantiateRenderPipeline(std::move(renderPipelineInfo)));
}
/*!