Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

CreateMaterialPool doesn't use the size_in_bytes variable. Always allocates 1_mb #277

@VZout

Description

@VZout

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions