WispRenderer
WispRenderer copied to clipboard
`CreateMaterialPool` doesn't use the size_in_bytes variable. Always allocates 1_mb
d3d12_material_pool.hpp:
m_constant_buffer_pool = m_render_system.CreateConstantBufferPool(1_mb);
d3d12_renderer.hpp
std::shared_ptr<MaterialPool> D3D12RenderSystem::CreateMaterialPool(std::size_t size_in_bytes)
{
return std::make_shared<D3D12MaterialPool>(*this);
}
Created a pull request with the fix (https://github.com/TeamWisp/WispRenderer/pull/394)