D3D12: Call VertexManagerBase initialize
This commit is contained in:
parent
a21fb96638
commit
07c43b192f
|
@ -31,6 +31,9 @@ VertexManager::~VertexManager() = default;
|
||||||
|
|
||||||
bool VertexManager::Initialize()
|
bool VertexManager::Initialize()
|
||||||
{
|
{
|
||||||
|
if (!VertexManagerBase::Initialize())
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!m_vertex_stream_buffer.AllocateBuffer(VERTEX_STREAM_BUFFER_SIZE) ||
|
if (!m_vertex_stream_buffer.AllocateBuffer(VERTEX_STREAM_BUFFER_SIZE) ||
|
||||||
!m_index_stream_buffer.AllocateBuffer(INDEX_STREAM_BUFFER_SIZE) ||
|
!m_index_stream_buffer.AllocateBuffer(INDEX_STREAM_BUFFER_SIZE) ||
|
||||||
!m_uniform_stream_buffer.AllocateBuffer(UNIFORM_STREAM_BUFFER_SIZE) ||
|
!m_uniform_stream_buffer.AllocateBuffer(UNIFORM_STREAM_BUFFER_SIZE) ||
|
||||||
|
|
Loading…
Reference in New Issue